Whamcloud - gitweb
LU-18158 sec: hint client in case of failed reint open 98/56098/7
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 20 Aug 2024 15:27:32 +0000 (17:27 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 9 Dec 2024 06:07:24 +0000 (06:07 +0000)
commite603ddadd5eef4173079d20a0ec1b388b4935cc0
tree004592fda0e38ffc484263b7cb8309d355dbb689
parent111f5836ecbfef0e43c0d739199f5b6ddfb2464c
LU-18158 sec: hint client in case of failed reint open

In case of failed file open, the Lustre client is already able to send
alternative supplementary groups to the server using a retry
mechanism. If the first attempt fails, then the failure reply from the
server includes a hint with a possible supplementary group and ACLs.
The client then retries with an alternative supplementary group,
selected using information hinted in the reply from the MDT.

The same mechanism can be implemented for all reint open cases.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Ic5e309cfbdb6d388397e3e251b2d007a612fd214
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56098
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/llite/namei.c
lustre/mdt/mdt_open.c
lustre/tests/sanity-sec.sh