***** SUSPECTED SPAM ***** [RFD 03/17] xfs: move inode chunk allocation into a workqueue
Dave Chinner
david at fromorbit.com
Mon Aug 12 08:19:53 CDT 2013
From: Dave Chinner <dchinner at redhat.com>
Now that inode chunk allocation has been separated from free inode allocation,
we no longer need to do it in-line with the high level operation that requires
a free inode. As such, we can move inode chunk allocation into a workqueue and
trigger it to run asynchronously.
The inode allocation ticket will need to block the foreground operation if there
aren't sufficent free inodes available. It also needs to kick the inode
chunk allocation worker into action to ensure that free inodes will become
available in the not-to-distant future and wait for free inodes become
available.
Signed-off-by: Dave Chinner <dchinner at redhat.com>
---
fs/xfs/xfs_ialloc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/xfs/xfs_ialloc.h b/fs/xfs/xfs_ialloc.h
index 1da16f5..0494855 100644
--- a/fs/xfs/xfs_ialloc.h
+++ b/fs/xfs/xfs_ialloc.h
@@ -24,6 +24,7 @@ struct xfs_imap;
struct xfs_mount;
struct xfs_trans;
+/* blocks when empty */
struct xfs_ialloc_ticket;
/*
--
1.8.3.2
More information about the xfs
mailing list