Whamcloud - gitweb
LU-12506 changelog: support large number of MDT 87/42087/2
authorHongchao Zhang <hongchao@whamcloud.com>
Wed, 4 Mar 2020 14:07:19 +0000 (09:07 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 6 Apr 2021 04:42:21 +0000 (04:42 +0000)
commit0596a16841406b93ec1e348fcc9eecce62d9fe8b
tree50a043a46ddc7346b37937bbc3fd80435a526cec
parent7f04890a1b5f806cde7db0666a45b9f73cafa9b8
LU-12506 changelog: support large number of MDT

At client, the changelog of each MDT is associated with
one miscdevice, but the number of miscdevice is limited
to 64 in Linux kernel, then it will fail if there are
more than 64 MDTs.

This patch replaces miscdevice with dynamic devices to
support more MDTs.

Lustre-change: https://review.whamcloud.com/37759
Lustre-commit: d0423abc1adc717b08de61be3556688cccd52ddf

Change-Id: Ie3ce76cbe1c613bf17d6350ea95546524b6d66b8
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/42087
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/mdc_changelog.c
lustre/mdc/mdc_internal.h
lustre/mdc/mdc_request.c