lkml.org 
[lkml]   [2004]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.6-rc{1,2} bad VM/NFS interaction in case of dirty page writeback
    Shantanu Goel <sgoel01@yahoo.com> wrote:
    >
    > Andrew/Trond,
    >
    > Any consensus as to what the right approach is here?

    For now I suggest you do

    - err = WRITEPAGE_ACTIVATE;
    + err = 0;

    in nfs_writepage().

    > One cheap though perhaps hack'ish solution would be to
    > introduce yet another special error code like
    > WRITEPAGE_ACTIVATE which instead of moving the page to
    > the head of the active list instead moves it to the
    > head of the inactive list.

    It would be better to set a flag in the backing_dev so that page reclaim
    knows to not enter writepage at all.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:02    [W:0.019 / U:2.648 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site