]> err.no Git - linux-2.6/commit
9p: soften invalidation in loose_mode
authorEric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com>
Wed, 17 Oct 2007 19:31:07 +0000 (14:31 -0500)
committerEric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com>
Wed, 17 Oct 2007 19:31:07 +0000 (14:31 -0500)
commit50fd8010673b770f6489c9ee96680c204aefa84a
tree734686c1c5be427d72665f2ea63537886717f157
parentba17674fe02909fef049fd4b620a2805bdb8c693
9p: soften invalidation in loose_mode

Loose mode in 9p utilizes the page cache without respecting coherency with
the server.  Any writes previously invaldiated the entire mapping for a file.
This patch softens the behavior to only invalidate the region of the actual
write.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_file.c