Re: [PATCH] issue storage device flush via sync_blockdev() (was Re: Linux 2.6.29)

Christoph Hellwig
2009-03-26T08:26:52Z

On Wed, Mar 25, 2009 at 09:26:11PM -0400, Jeff Garzik wrote:
> What do you think sync_blockdev() does? What is its purpose?

It writes out data in the block device inode. Which does not include
any user data, and might not contain anything at all for filesystems
that have their own address space for metadata. It's defintively the
wrong place for this kind of hack.