diff options
author | Jan Kara <jack@suse.cz> | 2024-01-22 13:22:42 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2024-01-23 19:21:11 +0100 |
commit | a1e1b2becab7c0b23f18b7999a3b48f76210d3a6 (patch) | |
tree | a51afe3d166c7fa0e47fb3043837ce8034bcc398 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 6c5026c1ef5b57a8d1ddeb6f2bf0c1624d6a849f (diff) |
quota: Drop GFP_NOFS instances under dquot->dq_lock and dqio_sem
Quota code acquires dquot->dq_lock whenever reading / writing dquot.
When reading / writing quota info we hold dqio_sem. Since these locks
can be acquired during inode reclaim (through dquot_drop() -> dqput() ->
dquot_release()) we are setting nofs allocation context whenever
acquiring these locks. Hence there's no need to use GFP_NOFS allocations
in quota code doing IO. Just switch it to GFP_KERNEL.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions