Searched hist:"8089 fe62c6603860f6796ca80519b92391292f21" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | btrfs_inode.h | diff 8089fe62c6603860f6796ca80519b92391292f21 Thu Nov 19 07:15:51 CST 2015 David Sterba <dsterba@suse.cz> btrfs: put delayed item hook into inode
Inodes for delayed iput allocate a trivial helper structure, let's place the list hook directly into the inode and save a kmalloc (killing a __GFP_NOFAIL as a bonus) at the cost of increasing size of btrfs_inode.
The inode can be put into the delayed_iputs list more than once and we have to keep the count. This means we can't use the list_splice to process a bunch of inodes because we'd lost track of the count if the inode is put into the delayed iputs again while it's processed.
Signed-off-by: David Sterba <dsterba@suse.com>
|
H A D | inode.c | diff 8089fe62c6603860f6796ca80519b92391292f21 Thu Nov 19 07:15:51 CST 2015 David Sterba <dsterba@suse.cz> btrfs: put delayed item hook into inode
Inodes for delayed iput allocate a trivial helper structure, let's place the list hook directly into the inode and save a kmalloc (killing a __GFP_NOFAIL as a bonus) at the cost of increasing size of btrfs_inode.
The inode can be put into the delayed_iputs list more than once and we have to keep the count. This means we can't use the list_splice to process a bunch of inodes because we'd lost track of the count if the inode is put into the delayed iputs again while it's processed.
Signed-off-by: David Sterba <dsterba@suse.com>
|