Whamcloud - gitweb
LU-15451 sec: read-only nodemap flag 49/46149/5
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 14 Jan 2022 09:16:31 +0000 (10:16 +0100)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jul 2022 06:50:14 +0000 (06:50 +0000)
Add a new 'readonly_mount' property to nodemaps. When set, we return
-EROFS from server side if the client is not mounting read-only.
So the client will have to specify the read-only mount option to be
allowed to mount.

Fixes: 928714dddabb ("LU-5092 nodemap: save id maps to targets in new index file")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I9931844ae46dfd5d724f592f8dfacc4a8011c7e3
Reviewed-on: https://review.whamcloud.com/46149
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>

No differences found