Whamcloud - gitweb
LU-15913 mdt: disable parallel rename for striped dirs
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 11 Jun 2022 01:47:00 +0000 (19:47 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 10 Aug 2022 01:40:49 +0000 (01:40 +0000)
commite37ad8c8495ef31216d43ed82c0b947a719e2761
tree248e99d82867c76fc95b370461aebdf17bf26ab8
parent179f55a186b29d0eb731de00ec8c68076dc12b78
LU-15913 mdt: disable parallel rename for striped dirs

Parallel rename should not be done within striped directories to
avoid remote updates.  These are like cross-directory renames.

Add tunables for parallel directory rename in case of problems.
These can be configured separately for files and directories.

    mdt.*.enable_parallel_rename_dir
    mdt.*.enable_parallel_rename_file

Lustre-change: https://review.whamcloud.com/47593
Lustre-commit: f238540c879dc668e18cf99cba62f117ccae64d6

Fixes: 90979ab390 ("LU-12125 mds: allow parallel directory rename")
Fixes: d76cc65d5d ("LU-12125 mds: allow parallel regular file rename")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I384976cd1c9f401169336ee7a479ba0e3dd9f4ee
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/48124
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/lprocfs_status.h
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_lproc.c
lustre/mdt/mdt_reint.c