staging: lustre: mdc: don't take rpc lock for readdir case
authorwang di <di.wang@intel.com>
Tue, 16 Aug 2016 20:18:19 +0000 (16:18 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 13:57:33 +0000 (15:57 +0200)
commita0d73eb569cd4fee48d35b9ce636587fa05ed145
treec09ee6978a2169bfa162638ee8ee74a660edaae2
parent77a782ab70d3a35812f6ad0e13e5cea72b3b6694
staging: lustre: mdc: don't take rpc lock for readdir case

If the operation is IT_READDIR don't need to handle the
mdc RPC lock.

Signed-off-by: wang di <di.wang@intel.com>
Reviewed-on: http://review.whamcloud.com/10761
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4906
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@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/lustre/include/lustre_mdc.h