Whamcloud - gitweb
LU-10086 libcfs: use dynamic minors for /dev/{lnet,obd} 45/29945/3
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 24 Oct 2017 15:28:57 +0000 (10:28 -0500)
committerJohn L. Hammond <john.hammond@intel.com>
Mon, 27 Nov 2017 15:13:05 +0000 (15:13 +0000)
commit705863d6e6d03c47b67c179f7b07e54ea36817e5
treedad70dd5b6b44402c0002837e948b205b9f80d1b
parentcc0d57bde682ba0fe6b8752dbf1d4995e5b2033d
LU-10086 libcfs: use dynamic minors for /dev/{lnet,obd}

Request dynamic minor allocation when registering /dev/lnet and
/dev/obd. Remove the obsolete create-device-if-not-found code from
register_ioc_dev().

Lustre-change: https://review.whamcloud.com/29741
Lustre-commit: e446c1667dc9136e3a1cb3603c3851975b68e0ac

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I59c70912b4729f58a76dc6107b3e1d7379c6d7a3
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/29945
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
15 files changed:
libcfs/include/libcfs/linux/libcfs.h
libcfs/include/libcfs/util/ioctl.h
libcfs/libcfs/linux/linux-debug.c
libcfs/libcfs/linux/linux-module.c
libcfs/libcfs/module.c
libcfs/libcfs/util/l_ioctl.c
lnet/include/lnet/lnetctl.h
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lst.c
lnet/utils/portals.c
lustre/include/uapi/linux/lustre_ioctl.h
lustre/obdclass/class_obd.c
lustre/obdclass/linux/linux-module.c
lustre/utils/lustre_rsync.c
lustre/utils/obd.c