| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | ***** SUSPECTED SPAM ***** [RFD 08/17] xfs: inode chunk freeing in the background |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Mon, 12 Aug 2013 23:19:58 +1000 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Importance: | Low |
| In-reply-to: | <1376313607-28133-1-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1376313607-28133-1-git-send-email-david@xxxxxxxxxxxxx> |
From: Dave Chinner <dchinner@xxxxxxxxxx>
Now that inode chunk freeing has been separated from freeing indivdiual inodes
we no longer need to do it in-line with the high level unlink inode operation.
As such, we can move inode chunk freeing into a workqueue and trigger it to run
asynchronously.
Moving the chunk freeing to the background allows us to delay the decision to
free the inode chunk and further optimise inode chunk freeing according to the
current workload.
Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
---
fs/xfs/xfs_ag.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/xfs/xfs_ag.h b/fs/xfs/xfs_ag.h
index 1a97646..b34f641 100644
--- a/fs/xfs/xfs_ag.h
+++ b/fs/xfs/xfs_ag.h
@@ -253,6 +253,7 @@ typedef struct xfs_perag {
xfs_agino_t pagi_count; /* number of allocated inodes */
int pagi_chunk_alloc_rate;
+ int pagi_chunk_free_rate;
/*
* Inode allocation search lookup optimisation.
--
1.8.3.2
|
| Previous by Date: | ***** SUSPECTED SPAM ***** [RFD 07/17] xfs: separate inode chunk freeing from inode freeing, Dave Chinner |
|---|---|
| Next by Date: | ***** SUSPECTED SPAM ***** [RFD 01/17] xfs: inode allocation tickets, Dave Chinner |
| Previous by Thread: | ***** SUSPECTED SPAM ***** [RFD 07/17] xfs: separate inode chunk freeing from inode freeing, Dave Chinner |
| Next by Thread: | ***** SUSPECTED SPAM ***** [RFD 01/17] xfs: inode allocation tickets, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |