[lkml]   [2010]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 27/38] union-mount: In-kernel file copyup routines
    On Tue, 15 Jun 2010, Valerie Aurora wrote:
    > When a file on the read-only layer of a union mount is altered, it
    > must be copied up to the topmost read-write layer. This patch creates
    > union_copyup() and its supporting routines.
    > Thanks to Valdis Kletnieks for a bug fix.

    What happens if there's a crash in the middle of the copyup?

    Possible solution is using rename to atomically "replace" the
    underlying file. That however introduces namespace issues: where to
    put the temporary file which then needs to be deleted on "fsck.union"?


     \ /
      Last update: 2010-08-04 17:29    [W:0.017 / U:96.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site