xfs
[Top] [All Lists]

Re: [PATCH v6 10/10] xfs: add background scanning to clear eofblocks ino

To: Brian Foster <bfoster@xxxxxxxxxx>
Subject: Re: [PATCH v6 10/10] xfs: add background scanning to clear eofblocks inodes
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Tue, 06 Nov 2012 11:04:53 -0600
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: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 11/06/12 08:50, 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. Nice series.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>