Whamcloud - gitweb
LU-9311 pfl: shouldn't reprocess granted resent request 12/26612/2
authorBobi Jam <bobijam.xu@intel.com>
Mon, 10 Apr 2017 17:50:04 +0000 (01:50 +0800)
committerJinshan Xiong <jinshan.xiong@intel.com>
Tue, 18 Apr 2017 03:13:54 +0000 (03:13 +0000)
commitcf90908afea9e3563cf174fa4e6d10de50faab68
tree99a57045e88622e3290c149eb4937bad907fb86c
parente3ae2055f629c9bfea32905cd44e22c692cd65d9
LU-9311 pfl: shouldn't reprocess granted resent request

When the LOVEA buffer is bigger than the request reply buffer, the
client will resend the layout write intent RPC, and
mdt_layout_change() should not reprocess it since the 2nd process
will try to cancel the 1st granted CR lock, while client has not
get it granted yet because of the reply buffer shortage resend the
RPC.

This patch also adjusts some debug messages, makes dump_lsm() dump
uninstantiated component stripe info.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: If64531c53ab494c785ad11b4f71fd0f1b562d47d
Reviewed-on: https://review.whamcloud.com/26612
Tested-by: Jenkins
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Tested-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
lustre/include/md_object.h
lustre/llite/vvp_io.c
lustre/lov/lov_ea.c
lustre/mdt/mdt_handler.c