file preallocation without unwritten flag being set
Eric Sandeen
sandeen at sandeen.net
Wed May 13 19:41:22 CDT 2009
Dave Chinner wrote:
>> Unmounting will flush the filesytem address space, but not the block
>> device address space.
>
> Not exactly the problem, though. XFS opens it's own device address space
> when mounting - not the address space you get by opening /dev/sdX.
> xfs_db uses the address space associated with /dev/sdX. hence
> if you do:
>
> # xfs_db /dev/sdc
> ....
> # mount /dev/sdc
> <do some changes>
> # unmount /dev/sdc
> # xfs_db /dev/sdc
>
> The second invocation of xfs_db will not see any of the changes that
> occured to the filesystem because it will read from the buffers
> cached on /dev/sdc during the first invocation.
>
> This is the same problem Grub has....
We meant the same thing, even if I said it wrong ;)
-Eric
More information about the xfs
mailing list