Re: [PATCH 2/2] NFS: Don't generate a GETATTR when opening an O_DIRECT file

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

 



On 02/11/2010 02:14 PM, Trond Myklebust wrote:
On Thu, 2010-02-11 at 14:09 -0500, Chuck Lever wrote:
Close-to-open isn't needed for O_DIRECT files, since their data is
never cached.  So if their attribute cache hasn't expired, skip the
GETATTR.

Don't we still want to ensure that the access cache is still valid?

Would it be reasonable/feasible to squelch the GETATTR but force an ACCESS call from nfs_permission?

--
chuck[dot]lever[at]oracle[dot]com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux