Whamcloud - gitweb
LU-6433 quota: handle QUOTA_DQACQ in READPAGE portal 69/14369/4
authorAndriy Skulysh <andriy.skulysh@seagate.com>
Thu, 14 May 2015 11:06:16 +0000 (14:06 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 10 Jul 2015 02:53:54 +0000 (02:53 +0000)
commit471ad1f679ad7c0193785f82abf6f249ffeb1e79
tree464da667ffe905069c44cc600b3de54cdee8f70b
parent2083f8a34b556c9e64e09a4529df7d9bdbdd7532
LU-6433 quota: handle QUOTA_DQACQ in READPAGE portal

MDS sends quota request to quota master, which can be
the same host. Deadlock is possible if all other MDS
threads are waiting for lock taken by first thread.

Lets use MDS_READPAGE portal to avoid the deadlock.

Xyratex-bug-id: MRP-2433
Change-Id: Ib2266a6771cfc5a70bae23206b1144bfd45f9ff3
Signed-off-by: Andriy Skulysh <andriy.skulysh@seagate.com>
Reviewed-on: http://review.whamcloud.com/14369
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Ann Koehler <amk@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/quota/qsd_request.c