Whamcloud - gitweb
LU-933 mdc: allow disabling the mdc_rpc_lock
authorLiang Zhen <liang@whamcloud.com>
Fri, 3 Feb 2012 15:43:55 +0000 (23:43 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jun 2012 13:13:36 +0000 (09:13 -0400)
commit2edfe26a32aece2b1467aebf7afe0be621eb7b02
treee592ee109245450f7acabdb4286c3ed1821bff56
parenta096d858b671f28fd4c5e6197b51643cd0780a50
LU-933 mdc: allow disabling the mdc_rpc_lock

It is desirable to allow disabling the client mdc_{get,put}_rpc_lock()
in order to allow clients to send multiple filesystem-modifying RPCs
at the same time. While this would break MDS recovery (due to
insufficient transaction slots in the MDS last_rcvd file) it would
allow a smaller number of clients to generate a much higher RPC load
on the MDS. This is ideal for MDS/RPC load testing purposes, and can
also be used to help evaluate the potential benefits of implementing
the multi-slot last_rcvd feature.

Signed-off-by: Liang Zhen <liang@whamcloud.com>
Change-Id: I39be390ed37f0327bf7eb8015d528195b8568e0b
Reviewed-on: http://review.whamcloud.com/2084
Tested-by: Hudson
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs_fail.h
libcfs/include/libcfs/user-prim.h
lustre/include/lustre_mdc.h
lustre/include/obd_support.h
lustre/tests/sanity.sh