Re: Cache flush on file lock

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

 




> On Feb 2, 2022, at 2:55 PM, Chuck Lever III <chuck.lever@xxxxxxxxxx> wrote:
> 
> 
> 
>> On Feb 1, 2022, at 8:41 PM, Simon Kirby <sim@xxxxxxxxxx> wrote:
>> 
>> How far off would we be from write delegations happening here?
> 
> We are tracking a "feature request" for write delegation support
> in the Linux NFS server:
> 
> https://bugzilla.linux-nfs.org/show_bug.cgi?id=348
> 
> At this point the effort is not resourced. It's not clear how
> much benefit it would be.
> 
> That said, it seems to me that your use case might benefit if
> the Linux NFS server offered a READ delegation for the SQLite
> database file even when it is open R/W. It might be appropriate
> if the server offered such a delegation when there are no other
> clients that have the file open for write or that hold write
> delegations.
> 
> Patches and performance data are, as always, welcome.

You didn't mention which version of the server you are using.

In fact, commit aba2072f4523 ("nfsd: grant read delegations to
clients holding writes") ought to make the server offer a READ
delegation in this situation. It appears in v5.13, if I'm
reading my "git describe" output correctly.


--
Chuck Lever







[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