Whamcloud - gitweb
LU-14677 llite: move env contexts to ll_inode_info level 98/44198/11
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 9 Jul 2021 13:41:34 +0000 (15:41 +0200)
committerOleg Drokin <green@whamcloud.com>
Wed, 22 Sep 2021 04:43:17 +0000 (04:43 +0000)
commit957e7de61ec129013ba0df90c3abe64ff024e438
tree0a7878044b13da92af6820e6f1dbcf8921e1b379
parent412970c586ea189d442620316c5ed6f1fa43cc0e
LU-14677 llite: move env contexts to ll_inode_info level

Contrary to file, inode is always available, so move the list of
env contexts from the file data to the ll_inode_info level.
This is needed because we will have to handle env properties in
ll_get_context() and ll_xattr_list()/ll_listxattr().
This also requires changing lli_lock from a spinlock to an rwlock.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I478d2a8eabfcb09074ba52601f05840d047a6da2
Reviewed-on: https://review.whamcloud.com/44198
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/acl.c
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/llite_mmap.c
lustre/llite/rw.c
lustre/llite/rw26.c
lustre/llite/xattr.c