1. 09 6月, 2006 1 次提交
  2. 21 3月, 2006 2 次提交
    • T
      NFS: Fix a race with PG_private and nfs_release_page() · deb7d638
      Trond Myklebust 提交于
      We don't need to set PG_private for readahead pages, since they never get
      unlocked while I/O is in progress. However there is a small race in
      nfs_readpage_release() whereby the page may be unlocked, and have
      PG_private set.
      
      Fix is to have PG_private set only for the case of writes...
      
      Also fix a bug in nfs_clear_page_writeback(): Don't attempt to clear the
      radix_tree tag if we've already deleted the radix tree entry.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      deb7d638
    • T
      NFS: Avoid races between writebacks and truncation · cd52ed35
      Trond Myklebust 提交于
      Currently, there is no serialisation between NFS asynchronous writebacks
      and truncation at the page level due to the fact that nfs_sync_inode()
      cannot lock the pages that it is about to write out.
      
      This means that it is possible to be flushing out data (and calling something
      like set_page_writeback()) while the page cache is busy evicting the page.
      Oops...
      
      Use the hooks provided in try_to_release_page() to ensure that dirty pages
      are always written back to storage before we evict them.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      cd52ed35
  3. 23 6月, 2005 3 次提交
  4. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4