Created attachment 1188254 [details] Suggested Patch Description of problem: When a netgroup is marked as rw in the exports file, and another netgroup is marked as ro for the same share, the ro option is not honored. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create an exports file with a netgroup which has one client with 'ro' permission, and one client with 'rw' permission. 2. Mount this share from the two clients and attempt to write data. Actual results: Only one of the 'ro' or 'rw' options is honored. Expected results: The appropriate 'ro' and 'rw' options for each client must be honored. Additional info:
REVIEW: http://review.gluster.org/15104 (nfs/auth: Fix sensitivity to rw,ro ordering in the exports file) posted (#1) for review on master by Niels de Vos (ndevos)
Thanks Shreyas! Could you check if the posted patch works for you too? It should prevent the extra execution of __export_dir_lookup_netgroup() after an entry was matched.
REVIEW: http://review.gluster.org/15104 (nfs/auth: Fix sensitivity to rw,ro ordering in the exports file) posted (#2) for review on master by Niels de Vos (ndevos)
This update is done in bulk based on the state of the patch and the time since last activity. If the issue is still seen, please reopen the bug.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days