Whamcloud - gitweb
LU-14430 mdd: use own rec_hdr for changelog declare
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 19 Jan 2022 05:07:49 +0000 (21:07 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 19 Jan 2022 21:14:19 +0000 (21:14 +0000)
commitea43ff4997b2048984a8330655d019396f9450f5
tree0abf8a6b274bb801683b4c0e6e1db04d90287115
parent45ea1587cc2702f169dc23d8dbb3cb23ec19d4f6
LU-14430 mdd: use own rec_hdr for changelog declare

Do not use an lu_buf just to declare the changelog record.  This
only needs llog_rec_hdr to pass in lrh_len, so declaring rec_hdr
on the stack avoids the overhead of using the lu_buf.

Lustre-change: https://review.whamcloud.com/43683
Lustre-commit: ff52f8c1736ad7ef2621d23366a1ca6572aa7f22

Fixes: f3d03bc38a ("LU-14430 mdd: fix inheritance of big default ACLs")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I7b6f1d761aa98aa6ecb023894bde03dce23ebbe5
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-on: https://review.whamcloud.com/46193
Tested-by: jenkins <devops@whamcloud.com>
lustre/mdd/mdd_dir.c