Thread (13 messages) 13 messages, 2 authors, 2021-01-28

Re: [PATCH 11/11] xfs: don't bounce the iolock between free_{eof,cow}blocks

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-01-28 09:39:20

On Wed, Jan 27, 2021 at 10:04:41PM -0800, Darrick J. Wong wrote:
From: Darrick J. Wong <djwong@kernel.org>

Since xfs_inode_free_eofblocks and xfs_inode_free_cowblocks are now
internal static functions, we can save ourselves a cycling of the iolock
by passing the lock state out to xfs_blockgc_scan_inode and letting it
do all the unlocking.
Looks good, although normally we use lock_flags and not unlockflags
for this kind of variable, and maybe we should stick to that here.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help