> On Oct 13, 2016, at 03:18, NeilBrown <neilb@xxxxxxxx> wrote: > > > Suppose I open/create a file over pNFS and am given a WRITE delegation. > I then chmod the file (as rsync is wont to do) so the delegation is > immediately returned. > I then proceed to write, which triggers a LAYOUT_GET request. The > stateid for that request it taken from state->stateid, which is still > the delegation stateid. Naturally it gets NFS4ERR_BAD_STATEID. Umm… Why isn’t the client recovering open stateids as part of the delegation return? That would appear to be the root cause problem here. Is this the latest upstream kernel? Cheers Trond��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥