Re: [dm-devel] [PATCH][RFC] dm: Do not open log and cow deviceread-write for read-only mappings

From: Alasdair G Kergon
Date: Tue Feb 15 2011 - 11:56:35 EST


On Tue, Feb 15, 2011 at 05:41:28PM +0100, Tejun Heo wrote:
> That said, maybe -EROFS is the better fit. I really have no idea.
> Maybe we should just revert and leave rw accesses to ro block devices
> alone.

I'd agree that the change to enforce readonly devs is a desirable change
to make. But we're still discovering exactly what things it breaks and
as well as further kernel patches some userspace changes seem
unavoidable. Personally I'd prefer it if this change went back into
linux-next to give us more time to prepare for it cleanly. It's
unfortunate none of us picked up on these problems sooner.

Alasdair

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