MRP-1180 mdt: fix error handling in mdt_quotactl_handle()

MDT handlers should return errors with SERIOUS
flag or allocate reply buffer.
Otherwise assertion fails:
niobuf.c:428:ptlrpc_send_reply()) ASSERTION( rs != ((void *)0) ) failed:

Change-Id: Iff83dbb968710e54c9c9bd941af399f129c26ba5
Signed-off-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Reviewed-on: http://morpheus.xyus.xyratex.com:8443/gerrit/566
Tested-by: Jenkins
Reviewed-by: Alexander Boyko <Alexander_Boyko@xyratex.com>
Tested-by: Elena Gryaznova <Elena_Gryaznova@xyratex.com>
Reviewed-by: Alexey Lyashkov <Alexey_Lyashkov@xyratex.com>
Reviewed-by: Vitaly Fertman <Vitaly_Fertman@xyratex.com>
MRP-393 flock deadlock detection does not work properly

Perform deadlock detection during reprocess

Change-Id: I1119a00004d50e2ad644f22b72d81cafe2e6d8df
Signed-off-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Reviewed-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
Reviewed-by: Bruce Korb <bruce_korb@xyratex.com>
Reviewed-on: http://morpheus.xyus.xyratex.com:8443/gerrit/612
Tested-by: Jenkins
Reviewed-by: Bruce Korb <Bruce_Korb@xyratex.com>
Tested-by: Elena Gryaznova <Elena_Gryaznova@xyratex.com>
Reviewed-by: Vitaly Fertman <Vitaly_Fertman@xyratex.com>
MRP-1179 libcfs: fix for removing lcw at lcw_dispatch_main

lcw_dispatch_main() creates zombies list and moves lcw into it.
But removes entry from another list in the zombies loop.

Signed-off-by: Alexander Boyko <alexander_boyko@xyratex.com>
Change-Id: Ia234cb81d56169e7241ffda7315a5d977216749e
Reviewed-on: http://morpheus.xyus.xyratex.com:8443/gerrit/583
Tested-by: Jenkins
Reviewed-by: Alexey Lyashkov <Alexey_Lyashkov@xyratex.com>
Reviewed-by: Cheng Shao <cheng_shao@xyratex.com>
Tested-by: Elena Gryaznova <Elena_Gryaznova@xyratex.com>
Reviewed-by: Vitaly Fertman <Vitaly_Fertman@xyratex.com>