[lkml]   [2008]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 0/2] pdflush fix and enhancement
    On Tue, Dec 30, 2008 at 09:11:04PM -0700, Peter W. Morreale wrote:
    > Actually, it seems to me that we need to look at a radically different
    > approach. What about making background writes a property of the super
    > block? (which implies the file system) Has that been discussed before?

    Sure - there was a recent discussion in the context of how broken the
    sync(2) syscall is.

    That is, some filesystems (e.g. XFS) have certain requirements
    to ensure sync actually works in all circumstances and the current
    methods that sync employs make it impossible to sync correctly.

    It's made worse by the fact that XFS already has internal methods
    to completely and cleanly sync the filesystem (i.e. the freeze
    code) but that can't be called in the sync() context because
    writeback is a property of the VFS and not the filesystem.

    It was discussed on linux-fsdevel. <rummage>

    I simply haven't had time to dig into this far enough to
    come up with a patchset to fix the problem....


    Dave Chinner

     \ /
      Last update: 2008-12-31 08:11    [W:0.020 / U:39.640 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site