linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NFS implementation redundancy
@ 2006-05-30 22:27 Xin Zhao
  0 siblings, 0 replies; only message in thread
From: Xin Zhao @ 2006-05-30 22:27 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-fsdevel

Hi,

I am looking at NFS implementation included in kernel 2.6.16. In
nfs/inode.c, function nfs_delete_inode() called nfs_wb_all() after
truncate_inode_pages(). However, truncate_inode_pages is supposed to
flush out pages, why do we still need nfs_wb_all()? Moreover, after
this nfs_wb_all,  function nfs_delete_inode() immediately calls
clear_inode(), which will call nfs_wb_all() again.

This looks redundant to me. Any explaination on this?

Thanks,
Xin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-30 22:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-30 22:27 NFS implementation redundancy Xin Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).