Commit 4a2d984
ext4: using nofail preallocation in ext4_es_insert_delayed_block()
Similar to in ext4_es_remove_extent(), we use a no-fail preallocation
to avoid inconsistencies, except that here we may have to preallocate
two extent_status.
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230424033846.4732-8-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent e9fe2b8 commit 4a2d984
1 file changed
Lines changed: 22 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2009 | 2009 | | |
2010 | 2010 | | |
2011 | 2011 | | |
2012 | | - | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
2013 | 2016 | | |
2014 | 2017 | | |
2015 | 2018 | | |
| |||
2024 | 2027 | | |
2025 | 2028 | | |
2026 | 2029 | | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
2027 | 2035 | | |
2028 | 2036 | | |
2029 | | - | |
2030 | | - | |
| 2037 | + | |
| 2038 | + | |
2031 | 2039 | | |
2032 | | - | |
2033 | | - | |
2034 | | - | |
2035 | | - | |
2036 | | - | |
2037 | | - | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
2038 | 2043 | | |
2039 | 2044 | | |
2040 | 2045 | | |
2041 | 2046 | | |
2042 | 2047 | | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
2043 | 2053 | | |
2044 | 2054 | | |
| 2055 | + | |
| 2056 | + | |
2045 | 2057 | | |
2046 | 2058 | | |
2047 | 2059 | | |
2048 | | - | |
2049 | | - | |
| 2060 | + | |
2050 | 2061 | | |
2051 | 2062 | | |
2052 | 2063 | | |
| |||
0 commit comments