Re: [patch] xen-blkback: sync I/O after backend disconnected

From: Christoph Hellwig
Date: Mon Aug 15 2011 - 10:46:21 EST


On Mon, Aug 15, 2011 at 12:55:02PM +0800, Joe Jin wrote:
> When backend disconnect, sync IO requests to the disk.

Care to explain why?

Also you'll just need a sync_blockdev, fsync_bdev does far to many
things that don't make any sense when you don't have a file system
mounted on a device.

--
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/