Re: NFS close-to-open

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



On 12/12/2012 05:35 AM, Paul Gideon Dann wrote:
> On Tuesday 11 Dec 2012 12:08:46 you wrote:
>> After more poking-about: filp_close() in the VFS calls nfs_file_flush(),
>> which writes the file back to the server.  The struct file we're given is
>> freed up shortly after calling flush, so this looks like the last chance we
>> get to write changes (and I don't think we should change that).
> Hmm, so is this maybe an implementation limitation?  I would expect "nocto" to 
> prevent that flushing, since that seems to be the main purpose of "nocto".  
> But maybe it would have been too much work to buffer the flushes, and so every 
> file gets flushed on close anyway?
>
> Paul

Something like that, yeah. "nocto" just applies to the attribute cache, and does not change the flushing behavior.

- Bryan


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux