]> git.baikalelectronics.ru Git - kernel.git/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)
commit6df30c219623c30d499d9ec0be7a5e929fed837e
tree734686c1c5be427d72665f2ea63537886717f157
parent1e4e0c7fc733ddd63a8dda3ce2ab752d6caad432
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