2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/staging
Niu Yawei e16ffa838b staging: lustre: ptlrpc: no need to reassign mbits for replay
It's not necessary reassgin & re-adjust rq_mbits for replay
request in ptlrpc_set_bulk_mbits(), they all must have already
been correctly assigned before.

Such unecessary reassign could make the first matchbit not
PTLRPC_BULK_OPS_MASK aligned, that'll trigger LASSERT in
ptlrpc_register_bulk():

- ptlrpc_set_bulk_mbits() is called when first time sending
  request, rq_mbits is set as xid, which is BULK_OPS aligned;

- ptlrpc_set_bulk_mbits() continue to adjust the mbits for
  multi-bulk RPC, rq_mbits is not aligned anymore, then rq_xid
  is changed accordingly if client is connecting to an old
  server, so rq_xid became unaligned too;

- The request is replayed, ptlrpc_set_bulk_mbits() reassign
  the rq_mbits as rq_xid, which isn't aligned already, but
  ptlrpc_register_bulk() still assumes this value as the
  first matchbits and LASSERT it's BULK_OPS aligned.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6808
Reviewed-on: http://review.whamcloud.com/23048
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@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>
2017-07-30 08:08:31 -07:00
..
android Staging: android: use BIT macro 2017-07-16 08:41:01 +02:00
board
ccree staging: ccree: Fix unnecessary NULL check before kfree'ing it 2017-07-27 21:55:24 -07:00
clocking-wizard
comedi staging: comedi: ni_mio_common.c: fix coding style issue 2017-07-30 08:00:37 -07:00
dgnc dgnc: fix multiple blank lines coding style problem 2017-05-25 18:56:45 +02:00
emxx_udc staging: emxx_udc: Update "reserved" registers name 2017-05-15 07:42:00 +02:00
fbtft staging: fbtft: array underflow in fbtft_request_gpios_match() 2017-07-28 17:08:16 -07:00
fsl-dpaa2 staging: fsl-dpaa2/eth: Remove dead code 2017-07-16 08:41:00 +02:00
fsl-mc staging: fsl-mc: Convert to using %pOF instead of full_name 2017-07-30 07:59:32 -07:00
fwserial
gdm724x Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
goldfish
greybus greybus: usb: constify hc_driver structures 2017-07-30 07:58:25 -07:00
gs_fpgaboot staging: gs_fpgaboot: return valid error codes 2017-07-28 17:07:37 -07:00
iio Staging: iio: adc: ad7280a.c: Fixed Macro argument reuse 2017-07-22 21:35:43 +01:00
ks7010 staging: ks7010: Fix cast to restricted __le16 in ks_wlan_net.c 2017-07-16 08:41:02 +02:00
lustre staging: lustre: ptlrpc: no need to reassign mbits for replay 2017-07-30 08:08:31 -07:00
media [media] media: imx: Drop warning upon multiple S_STREAM disable calls 2017-06-20 08:12:20 -03:00
most Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
mt29f_spinand mtd: nand: Make sure drivers not supporting SET/GET_FEATURES return -ENOTSUPP 2017-05-30 08:59:26 +02:00
netlogic net: phy: Make phy_ethtool_ksettings_get return void 2017-06-13 12:59:06 -04:00
nvec Staging: nvec: Remove FSF's mailing address 2017-04-08 12:55:25 +02:00
octeon Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
octeon-usb staging: octeon-usb: use correct function for hcd cleanup 2017-05-15 07:43:55 +02:00
olpc_dcon staging: olpc_dcon: style fixes 2017-04-28 12:07:24 +02:00
pi433 staging: pi433: use div_u64 for 64-bit division 2017-07-28 17:03:19 -07:00
rtl8188eu Staging: rtl8188eu: core: fix brace coding style issue in rtw_mlme_ext.c 2017-07-27 21:51:06 -07:00
rtl8192e Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
rtl8192u staging: rtl8192u: fix spelling mistake: "Senondary" -> "Secondary" 2017-07-27 21:51:06 -07:00
rtl8712 staging: rtl8712: Remove explicit NULL comparison 2017-07-16 08:40:58 +02:00
rtl8723bs staging: rtl8723bs: Place constant at the right. 2017-07-16 08:40:58 +02:00
rts5208 staging/rts5208: Fix read overflow in memcpy 2017-06-06 16:16:10 +02:00
skein staging: skein: move macros into header file 2017-07-28 17:06:43 -07:00
sm750fb staging: sm750fb: avoid conflicting vesafb 2017-07-18 08:53:45 +02:00
speakup staging: speakup: safely register and unregister ldisc 2017-07-18 09:03:22 +02:00
typec staging: typec: Fix endianness warning discovered by sparse 2017-07-16 08:40:59 +02:00
unisys staging: unisys: visorbus: Constify attribute_group structures. 2017-07-27 21:33:22 -07:00
vboxvideo staging: vboxvideo: make a couple of symbols static 2017-07-28 17:05:40 -07:00
vc04_services Merge 4.13-rc2 into staging-next 2017-07-23 19:53:30 -07:00
vme staging: vme: Use BIT macro for bit definitions 2017-05-16 13:53:23 +02:00
vt6655 Staging: vt6655: Fixing coding style warnings 2017-07-18 09:00:24 +02:00
vt6656 staging: vt6656: Use variable instead of its type in sizeof(...) 2017-07-16 08:41:02 +02:00
wilc1000 staging: wilc1000: fix variable signedness 2017-07-16 08:40:58 +02:00
wlan-ng staging: wlan-ng: Use little-endian type 2017-07-18 08:59:17 +02:00
xgifb staging: fb_xgi: vb_table: Remove white space after tabstop 2017-06-23 19:36:49 +02:00
Kconfig Merge 4.13-rc2 into staging-next 2017-07-23 19:53:30 -07:00
Makefile Merge 4.13-rc2 into staging-next 2017-07-23 19:53:30 -07:00