Re: [PATCH v3] fs: Invalidate the cache for a parent block-device iffsync() is called for a partition

From: Christoph Hellwig
Date: Tue Jan 31 2012 - 14:37:55 EST


On Tue, Jan 31, 2012 at 11:32:50AM -0800, Andrew Morton wrote:
> I didn't say the kernel would support this as-is.
>
> If the partitioning scheme requires writing to the individual
> partitions then something would need to be done, such as a simple
> offsetting DM driver.

Writing partition tables requires writing to them main block device.

Seriously - if people want to support block devices nodes > 16TB dealing
with this isn't the problem. They'll need to find a way to do buffered
I/O without using the pagecache to get it right, at which point
blkdev_get_block in either form will simply go away.
--
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/