Whamcloud - gitweb
LU-12506 changelog: support large number of MDT 59/37759/7
authorHongchao Zhang <hongchao@whamcloud.com>
Wed, 4 Mar 2020 14:07:19 +0000 (09:07 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 24 Mar 2020 05:16:16 +0000 (05:16 +0000)
commitd0423abc1adc717b08de61be3556688cccd52ddf
tree3b369e68e41a2e375be28967194c6308355fefd0
parent4dfe4a49ccab3d087c14c8b3d539061f9f7f4b75
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.

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