| To: | Brian Foster <bfoster@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH v6 10/10] xfs: add background scanning to clear eofblocks inodes |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Wed, 7 Nov 2012 09:30:24 +1100 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1352213447-59791-11-git-send-email-bfoster@xxxxxxxxxx> |
| References: | <1352213447-59791-1-git-send-email-bfoster@xxxxxxxxxx> <1352213447-59791-11-git-send-email-bfoster@xxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Tue, Nov 06, 2012 at 09:50:47AM -0500, Brian Foster wrote: > Create a new mount workqueue and delayed_work to enable background > scanning and freeing of eofblocks inodes. The scanner kicks in once > speculative preallocation occurs and stops requeueing itself when > no eofblocks inodes exist. > > The scan interval is based on the new > 'speculative_prealloc_lifetime' tunable (default to 5m). The > background scanner performs unfiltered, best effort scans (which > skips inodes under lock contention or with a dirty cache mapping). > > Signed-off-by: Brian Foster <bfoster@xxxxxxxxxx> Looks good. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx |
| Previous by Date: | Re: [PATCH v6 09/10] xfs: add minimum file size filtering to eofblocks scan, Dave Chinner |
|---|---|
| Next by Date: | Re: [PATCH RFC] xfs_spaceman: updated preallocation support (eofblocks v6), Dave Chinner |
| Previous by Thread: | Re: [PATCH v6 10/10] xfs: add background scanning to clear eofblocks inodes, Mark Tinguely |
| Next by Thread: | [PATCH v7 06/10] xfs: add XFS_IOC_FREE_EOFBLOCKS ioctl, Brian Foster |
| Indexes: | [Date] [Thread] [Top] [All Lists] |