diff options
author | wang di <di.wang@intel.com> | 2016-11-10 12:30:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-14 16:16:57 +0100 |
commit | 482b27d897d0d821715ebbf63b3b0d5c3a04dce3 (patch) | |
tree | d247ff66c7bd21acacf382d5b3c0db66f1c069b7 /drivers/staging/lustre/lustre/fld/fld_internal.h | |
parent | staging: lustre: ptlrpc: mbits is sent within ptlrpc_body (diff) | |
download | linux-dev-482b27d897d0d821715ebbf63b3b0d5c3a04dce3.tar.xz linux-dev-482b27d897d0d821715ebbf63b3b0d5c3a04dce3.zip |
staging: lustre: lmv: lock necessary part of lmv_add_target
Release lmv_init_mutex once the new target is added
into lmv_tgt_desc, so lmv_obd_connect will not be
serialized.
New target should be allowed to added to fld client
lists, so FLD can always choose new added target to
do the FLD lookup request, and also remove some noise
error messages in this process.
Signed-off-by: wang di <di.wang@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6713
Reviewed-on: http://review.whamcloud.com/15269
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.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>
Diffstat (limited to 'drivers/staging/lustre/lustre/fld/fld_internal.h')
-rw-r--r-- | drivers/staging/lustre/lustre/fld/fld_internal.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/lustre/lustre/fld/fld_internal.h b/drivers/staging/lustre/lustre/fld/fld_internal.h index 08eaec735d6f..4a7f0b71c48d 100644 --- a/drivers/staging/lustre/lustre/fld/fld_internal.h +++ b/drivers/staging/lustre/lustre/fld/fld_internal.h @@ -62,11 +62,6 @@ #include "../include/lustre_req_layout.h" #include "../include/lustre_fld.h" -enum { - LUSTRE_FLD_INIT = 1 << 0, - LUSTRE_FLD_RUN = 1 << 1 -}; - struct fld_stats { __u64 fst_count; __u64 fst_cache; |