OSDN Git Service

xfs: refactor near mode alloc bnobt scan into separate function
authorBrian Foster <bfoster@redhat.com>
Mon, 14 Oct 2019 00:10:35 +0000 (17:10 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 16:04:58 +0000 (09:04 -0700)
commit0e26d5ca4a40211a4e2acd15a5cb229184c1f867
tree8d075a3a52110be444f9c3a311432b2c0b09708c
parent78d7aabdeea38368dc5e0aff2d3d1c353a7ab344
xfs: refactor near mode alloc bnobt scan into separate function

In preparation to enhance the near mode allocation bnobt scan algorithm, lift
it into a separate function. No functional changes.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_alloc.c