diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2022-04-24 22:09:35 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-05-17 14:17:40 -0400 |
commit | 9558cf14e8d2149a8df402b74041a99835801932 (patch) | |
tree | 248126608f619ff1c351c3c048560cfcd1ecc979 /Kconfig | |
parent | e4e58e5df309d695799c494958962100a4c25039 (diff) | |
download | linux-9558cf14e8d2149a8df402b74041a99835801932.tar.bz2 |
ext4: add nowait mode for ext4_getblk()
Current ext4_getblk() might sleep if some resources are not valid or
could be race with a concurrent extents modifing procedure. So we
cannot call ext4_getblk() and ext4_map_blocks() to get map blocks in
the atomic context in some fast path (e.g. the upcoming procedure of
getting symlink external block in the RCU context), even if the map
extents have already been check and cached.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://lore.kernel.org/r/20220424140936.1898920-2-yi.zhang@huawei.com
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions