[PATCH 1/1] 3w-xxxx: pass through compat mode ioctls

2015-12-24 Thread Ryan C. Underwood
This allows 32-bit userspace tools (tw_cli, smartctl) to work on a 64-bit system. The command buffer is opaque to us, so, no word size problems. Signed-off-by: Ryan C. Underwood --- drivers/scsi/3w-.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/3w-.c b/drivers/sc

[PATCH v5 2/3] block: Add badblock management for gendisks

2015-12-24 Thread Vishal Verma
NVDIMM devices, which can behave more like DRAM rather than block devices, may develop bad cache lines, or 'poison'. A block device exposed by the pmem driver can then consume poison via a read (or write), and cause a machine check. On platforms without machine check recovery features, this would m

[PATCH v5 3/3] md: convert to use the generic badblocks code

2015-12-24 Thread Vishal Verma
Retain badblocks as part of rdev, but use the accessor functions from include/linux/badblocks for all manipulation. Signed-off-by: Vishal Verma --- drivers/md/md.c | 516 +++- drivers/md/md.h | 40 + 2 files changed, 28 insertions(+), 528

[PATCH v5 1/3] badblocks: Add core badblock management code

2015-12-24 Thread Vishal Verma
Take the core badblocks implementation from md, and make it generally available. This follows the same style as kernel implementations of linked lists, rb-trees etc, where you can have a structure that can be embedded anywhere, and accessor functions to manipulate the data. The only changes in thi

[PATCH v5 0/3] Badblock tracking for gendisks

2015-12-24 Thread Vishal Verma
v5: - Rebase to v4.4-rc6 - Revert back to using kzalloc from __get_free_page based on the discussion at: http://thread.gmane.org/gmane.linux.kernel/2113292 v4: - Rebase to v4.4-rc4 v3: - Add kernel-doc style comments to all exported functions in badblocks.c (James) - Make return v

RE: qla2xxx: Delete session if initiator is gone from FW

2015-12-24 Thread Alexei Potashnik
I my original patch line 3583 was: + bool logged_out = (status & 0x) == CTIO_PORT_LOGGED_OUT; and line 3587 was: + logged_out ? "PORT LOGGED OUT" : "PORT UNAVAILABLE", Forwarding to Quinn and Himanshu who must have massaged it. Alexei > ---