| To: | Steve Lord <lord@xxxxxxx> |
|---|---|
| Subject: | Re: synchronization of XFS |
| From: | Stefan Smietanowski <stesmi@xxxxxxxxxx> |
| Date: | Fri, 26 Mar 2004 00:06:06 +0100 |
| Cc: | Christoph Hellwig <hch@xxxxxxxxxxxxx>, Chris Wedgwood <cw@xxxxxxxx>, "IKARASHI, Seiichi" <ikarashi@xxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <4063650B.20600@xfs.org> |
| References: | <4060F7FC.8090602@miraclelinux.com> <20040325063902.GA9697@dingdong.cryptoapps.com> <4062C97A.6030702@miraclelinux.com> <20040325124152.GA12078@dingdong.cryptoapps.com> <4062D7E5.6070501@stesmi.com> <20040325132200.GA12333@dingdong.cryptoapps.com> <4062E19A.90207@xfs.org> <20040325140723.GA12558@dingdong.cryptoapps.com> <20040325144519.A23764@infradead.org> <40635F04.6010109@xfs.org> <40636032.3000402@stesmi.com> <4063612E.4030109@xfs.org> <406361F2.6060308@stesmi.com> <4063650B.20600@xfs.org> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 |
Hi Steve. >> Yup. That's what's happening. It first does one run with --just-copy >> where it writes the files using the filesystem then reads the same >> files using the blockdevice and it's own filesystem code basically. >> >> // Stefan >> > > And I presume the files are missing? > > The bizzare part of this is that if you read the via the block > device interface, you are looking at the same in memory pages > which xfs uses for the metadata cache. So even if the data has > not hit disk yet, things such as names in directories should > be visible in the metadata cache. Inodes may be more tricky, > since flushing of inodes into the metadata cache is delayed. > > 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. Just to verify to be accurate : That /proc entry exists regardless of if xfs is statically compiled or as a module, correct? (ATRPMS makes it a module). // Stefan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: synchronization of XFS, Steve Lord |
|---|---|
| Next by Date: | Re: synchronization of XFS, Steve Lord |
| Previous by Thread: | Re: synchronization of XFS, Steve Lord |
| Next by Thread: | Re: synchronization of XFS, Steve Lord |
| Indexes: | [Date] [Thread] [Top] [All Lists] |