]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/staging/lustre/lustre/lmv/lmv_obd.c
staging: lustre: Prevent duplicate CT registrations
authorHenri Doreau <henri.doreau@cea.fr>
Wed, 23 Dec 2015 21:24:41 +0000 (16:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:20:14 +0000 (14:20 -0800)
commit406fc91338d6848a1dda0e1851dffa5946817e7e
treee18c227ffc45fc165e6ceea3c11fb6e098ce285e
parent50a10043fd4c12c008bc607d30a72b59d2f2dee9
staging: lustre: Prevent duplicate CT registrations

Associate copytool registration to a given MDC import so that
multiple mounts of the same filesystem do not lead to having the
copytool registered multiple time.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3882
Reviewed-on: http://review.whamcloud.com/7612
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h
drivers/staging/lustre/lustre/include/lustre_export.h
drivers/staging/lustre/lustre/libcfs/kernel_user_comm.c
drivers/staging/lustre/lustre/lmv/lmv_obd.c
drivers/staging/lustre/lustre/mdc/mdc_request.c