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

From: Christoph Hellwig
Date: Thu Mar 26 2009 - 04:26:52 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/