[lkml]   [2011]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH][RFC] dm: Do not open log and cow device read-write for read-only mappings

    On Mon, Feb 14, 2011 at 02:14:57PM +0100, Milan Broz wrote:
    > > But it doesn't fix the read-only snapshot issue and I guess there will be
    > > the same problem with read-only MD code too.
    > > (so the 2) issue here

    So, the problem is caused by dm opening members rw even for ro
    devices, right?

    > I am not sure if this is complete fix... note that:
    > - what happens during mirror resync and read-only log?
    > - for COW, it there situation we need to update header in read-oly mode? (invalidated snap?)

    But if the underlying device is marked ro, dm shouldn't update it at
    all. The device should be opened ro and ro policy should be enforced.



     \ /
      Last update: 2011-02-14 15:13    [W:0.037 / U:2.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site