]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: improve busy extent sorting
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Feb 2017 22:07:57 +0000 (14:07 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 9 Feb 2017 19:36:39 +0000 (11:36 -0800)
commit4154383eaeb2c4ca7b42b7c4bb2324d91015d3c0
tree5555850ba16c4921005d8cab9f523158434be0de
parent52be841a77021a85d82d152d95892ec98e8774bd
xfs: improve busy extent sorting

Sort busy extents by the full block number instead of just the AGNO so
that we can issue consecutive discard requests that the block layer could
merge (although we'll need additional block layer fixes for fast devices).

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/xfs_extent_busy.c