Messages in this thread | | | Subject | Re: [PATCH] quota: set init_needed flag only when successfully getting dquot | From | cgxu519 <> | Date | Tue, 30 Apr 2019 10:27:15 +0800 |
| |
On 4/30/19 5:49 AM, Jan Kara wrote: > On Sun 28-04-19 13:39:21, Chengguang Xu wrote: >> Set init_needed flag only when successfully getting dquot, >> so that we can skip unnecessary subsequent operation. >> >> Signed-off-by: Chengguang Xu <cgxu519@gmx.com> > Thanks for the patch but I don't think it's really useful. It will be very > rare that we race with quotaoff of dqget() fails due to error. So the > additional overhead of iterating over dquots doesn't really matter in that > case.
Hi Jan,
Thanks for the comment, I got it.
Chengguang.
| |