NFS: Allow redirtying of a completed unstable write.
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 13 Jun 2008 17:25:22 +0000 (13:25 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Jul 2008 16:09:24 +0000 (12:09 -0400)
commite468bae97d243fe0e1515abaa1f7d0edf1476ad0
tree42bbbfe8d6dfc60bcaaaa1a7164ba75dc1060050
parente7d39069e387a12d4c57f4067d9f48c1d29ea900
NFS: Allow redirtying of a completed unstable write.

Currently, if an unstable write completes, we cannot redirty the page in
order to reflect a new change in the page data until after we've sent a
COMMIT request.

This patch allows a page rewrite to proceed without the unnecessary COMMIT
step, putting it immediately back onto the dirty page list, undoing the
VM unstable write accounting, and removing the NFS_PAGE_TAG_COMMIT tag from
the NFS radix tree.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c
include/linux/nfs_page.h