]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: don't bother looking at the refcount tree for reads
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Oct 2016 04:53:32 +0000 (15:53 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 20 Oct 2016 04:53:32 +0000 (15:53 +1100)
commit3a4c5cb06395e70390d3f445a92e262748fc6032
treed7bbd9ab08f2fde333d67cdc20dbb126ca0bf56e
parentdd673cd6cf7c18dd1cd1877ae851dfc79a5b08b6
xfs: don't bother looking at the refcount tree for reads

There is no need to trim an extent into a shared or non-shared one, or
report any flags for plain old reads.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_iomap.c