Re: [PATCHES][RFC] icache-related stuff

From: David Sterba
Date: Wed Aug 01 2018 - 11:25:14 EST


On Sun, Jul 29, 2018 at 11:03:17PM +0100, Al Viro wrote:
> A bunch of filesystems switched to discard_new_inode() (btrfs, ufs, udf, ext2,
> jfs)
> new primitive: discard_new_inode()
> btrfs: switch to discard_new_inode()
> ufs: switch to discard_new_inode()
> udf: switch to discard_new_inode()
> ext2: make sure that partially set up inodes won't be returned by ext2_iget()
> jfs: switch to discard_new_inode()

Ack for the btrfs part, please take it through the VFS tree as it
logically belongs to the discard_new_inode updates.

> 4) several btrfs cleanups around btrfs_iget() and friends.
> btrfs: btrfs_iget() never returns an is_bad_inode() inode.
> btrfs: IS_ERR(p) && PTR_ERR(p) == n is a weird way to spell p == ERR_PTR(n)
> btrfs: lift make_bad_inode() into btrfs_iget()
> btrfs: simplify btrfs_iget()

And I'll take the cleanups through my tree as they don't seem to depend
on the other VFS changes, ie. patches 8, 9, 13 and 14.