Re: [PATCH 1/2] NFS: Call nfs4_state_protect{_write}() from the NFSv4 module

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

 







On 5/3/16, 14:29, "Anna Schumaker" <Anna.Schumaker@xxxxxxxxxx> wrote:

>The generic client doesn't need to know about these calls, and we can
>handle them from the write and commit setup functions easily enough.


Not really. What we actually want is to move them into nfs4_set_rw_stateid() so that we can always choose the appropriate credential that matches the stateid. In particular, if the server sets EXCHGID4_FLAG_BIND_PRINC_STATEID, then we want to use the credential that was used to obtain the delegation if it is still valid.

I’ve started that work in a private branch that I can publish soon, I hope.

---
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.myklebust@xxxxxxxxxxxxxxx
��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[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