]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix up "rm -rf"...
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 13 Jan 2007 07:28:12 +0000 (02:28 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 3 Feb 2007 23:35:04 +0000 (15:35 -0800)
commit79fd732070c403601ad132b92da182a381454486
tree17e2261c396d927e389c7f018008e5537bc27ddb
parent5bc9f5dd58410d9cfcd3de17e87d94333dc66965
NFS: Fix up "rm -rf"...

When a file is being scheduled for deletion by means of the sillyrename
mechanism, it makes sense to start out writeback of the dirty data as
soon as possible in order to ensure that the delete can occur. Examples of
cases where this is an issue include "rm -rf", which will busy-wait until
the file is closed, and the sillyrename completes.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c