Searched hist:"503330 f3" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | quota.h | 503330f3 Wed Aug 02 10:18:50 CDT 2017 Jan Kara <jack@suse.cz> quota: Remove dq_wait_unused from dquot
Currently every dquot carries a wait_queue_head_t used only when we are turning quotas off to wait for last users to drop dquot references. Since such rare case is not performance sensitive in any means, just use a global waitqueue for this and save space in struct dquot. Also convert the logic to use wait_event() instead of open-coding it.
Signed-off-by: Jan Kara <jack@suse.cz> 503330f3 Wed Aug 02 10:18:50 CDT 2017 Jan Kara <jack@suse.cz> quota: Remove dq_wait_unused from dquot Currently every dquot carries a wait_queue_head_t used only when we are turning quotas off to wait for last users to drop dquot references. Since such rare case is not performance sensitive in any means, just use a global waitqueue for this and save space in struct dquot. Also convert the logic to use wait_event() instead of open-coding it. Signed-off-by: Jan Kara <jack@suse.cz>
|
/openbmc/linux/fs/quota/ |
H A D | dquot.c | 503330f3 Wed Aug 02 10:18:50 CDT 2017 Jan Kara <jack@suse.cz> quota: Remove dq_wait_unused from dquot
Currently every dquot carries a wait_queue_head_t used only when we are turning quotas off to wait for last users to drop dquot references. Since such rare case is not performance sensitive in any means, just use a global waitqueue for this and save space in struct dquot. Also convert the logic to use wait_event() instead of open-coding it.
Signed-off-by: Jan Kara <jack@suse.cz>
|