]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove support for inlining data/extents into the inode fork
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Nov 2017 17:34:45 +0000 (10:34 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Nov 2017 19:53:40 +0000 (11:53 -0800)
commit1960cd7ba0db908d14e4fc57900769f84bd857a0
tree5d6165675f788d9a84a54f367fd36beb6f299d74
parentc489f42b03af6b3feccf8a64d2f831046ea3fe3e
xfs: remove support for inlining data/extents into the inode fork

Supporting a small bit of data inside the inode fork blows up the fork size
a lot, removing the 32 bytes of inline data halves the effective size of
the inode fork (and it still has a lot of unused padding left), and the
performance of a single kmalloc doesn't show up compared to the size to read
an inode or create one.

It also simplifies the fork management code a lot.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/libxfs/xfs_inode_fork.h
fs/xfs/xfs_bmap_util.c