Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-06-05 17:38:13 +0300
committerJan Kara <jack@suse.cz>2022-06-06 11:08:10 +0300
commit537e11cdc7a6b3ce94fa25ed41306193df9677b7 (patch)
treef52707439580c1c059f989ab9f1823b7637bd161 /fs/ceph/io.h
parent10e14073107dd0b6d97d9516a02845a8e501c2c9 (diff)
quota: Prevent memory allocation recursion while holding dq_lock
As described in commit 02117b8ae9c0 ("f2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read"), we must not enter filesystem reclaim while holding the dq_lock. Prevent this more generally by using memalloc_nofs_save() while holding the lock. Link: https://lore.kernel.org/r/20220605143815.2330891-2-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ceph/io.h')
0 files changed, 0 insertions, 0 deletions