NFSv4 open reclaim and access check
12 Jul
2019
12 Jul
'19
3:31 a.m.
Hello, There is one issue with git clone from V4 client and Ganesha getting restarted in between. What git clone does is - create+open file in RW mode set_attr for mode as 0444 keep writing to the file. Issue is when Ganesha gets restarted in between, we get open reclaim with no_create. In this case the owner_skip flag is not set and hence the open fails with NFS4ERR_ACCESS. I think we should not do any access checks for open reclaim. @Malahal, the patch https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/449537 removed the open flag to indicate if it is reclaim. Can we revert this and then skip test_access for any open reclaims? something like - https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/461556 Thanks & Regards, Suhrud
2658
Age (days ago)
2658
Last active (days ago)
0 comments
1 participants
participants (1)
-
Suhrud Patankar