Whamcloud - gitweb
LU-14430 mdd: use own rec_hdr for changelog declare 83/43683/3
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 13 May 2021 00:41:47 +0000 (18:41 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 27 May 2021 18:18:32 +0000 (18:18 +0000)
commitff52f8c1736ad7ef2621d23366a1ca6572aa7f22
tree68ce182f3d59f9ec4b9fb607abd53ceb5b33d416
parenta06c5e12c536bc588ead483a701a6fe2a777d73b
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.

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