]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xfs: rewrite xfs_dq_get_next_id using xfs_iext_lookup_extent
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Jun 2017 19:28:36 +0000 (12:28 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 2 Jul 2017 04:09:33 +0000 (21:09 -0700)
commitbda250dbaf39f67f8910e183853e4e6a9e5ce899
treed5fbd300007d1e7bcc88eb93c14c45d89206e03a
parentd04c241c669209667dd8f44335591246e601139a
xfs: rewrite xfs_dq_get_next_id using xfs_iext_lookup_extent

This goes straight to a single lookup in the extent list and avoids a
roundtrip through two layers that don't add any value for the simple
quoata file that just has data or holes and no page cache, delayed
allocation, unwritten extent or COW fork (which btw, doesn't seem to
be handled by the existing SEEK HOLE/DATA code).

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_dquot.c