[Top] [All Lists]

Re: synchronization of XFS

To: Stefan Smietanowski <stesmi@xxxxxxxxxx>
Subject: Re: synchronization of XFS
From: "IKARASHI, Seiichi" <ikarashi@xxxxxxxxxxxxxxxx>
Date: Mon, 29 Mar 2004 14:31:02 +0900
Cc: Steve Lord <lord@xxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, Chris Wedgwood <cw@xxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <406365DE.2050006@xxxxxxxxxx>
References: <4060F7FC.8090602@xxxxxxxxxxxxxxxx> <20040325063902.GA9697@xxxxxxxxxxxxxxxxxxxxxxx> <4062C97A.6030702@xxxxxxxxxxxxxxxx> <20040325124152.GA12078@xxxxxxxxxxxxxxxxxxxxxxx> <4062D7E5.6070501@xxxxxxxxxx> <20040325132200.GA12333@xxxxxxxxxxxxxxxxxxxxxxx> <4062E19A.90207@xxxxxxx> <20040325140723.GA12558@xxxxxxxxxxxxxxxxxxxxxxx> <20040325144519.A23764@xxxxxxxxxxxxx> <40635F04.6010109@xxxxxxx> <40636032.3000402@xxxxxxxxxx> <4063612E.4030109@xxxxxxx> <406361F2.6060308@xxxxxxxxxx> <4063650B.20600@xxxxxxx> <406365DE.2050006@xxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

Stefan Smietanowski wrote:
> Hi Steve.
>> Try this for an experiment, before the run, set
>> /proc/sys/fs/xfs/sync_interval
>> down to some small number like 1000, pause for a couple
>> of seconds after calling sync, and then see if grub
>> can see the files via the block device.
>> This tunable controls how long xfs delays writing out
>> inodes into the metadata cache from their internal format.
> Alright. I'll try that on my DVD in a few hours and get back to you.

How was this testing result?
I suppose setting sync_interval to 1000 and sleeping 2 seconds
after sync is basically same as sleeping 4 seconds or more with
the default sync_interval value (3000?).


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