NFS implementation redundancy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux