Re: [f2fs-dev] f2fs get_dnode_of_data oops

From: Jaegeuk Kim
Date: Wed Sep 10 2014 - 03:23:50 EST


On Tue, Sep 09, 2014 at 04:10:00PM +0800, Chao Yu wrote:
> Hi Jaegeuk,
>
> Looks good to me!
>
> One nitpick, how about judging this condition before we lock ->i_mutex to
> avoid unneeded lock contention and invoking of i_size_read()?

Agreed.