Re: [PATCH 1/3] ext4: Do not unnecessarily allocate buffer in recently_deleted()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 20, 2017 at 07:52:09PM +0800, Wang Shilong wrote:
> From: Jan Kara <jack@xxxxxxx>
> 
> From: Jan Kara <jack@xxxxxxx>
> 
> In recently_deleted() function we want to check whether inode is still
> cached in buffer cache. Use sb_find_get_block() for that instead of
> sb_getblk() to avoid unnecessary allocation of bdev page and buffer
> heads.
> 
> Signed-off-by: Jan Kara <jack@xxxxxxx>

Thanks, applied.

					- Ted



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux