Re: [PATCH] iscsi-target: fix panic when add the second TCP connection to iSCSI session

2016-07-18 Thread Feng Li
Okay, thanks. Anyone could help review this patch and merge into upstream? 2016-07-18 20:40 GMT+08:00 Sumit Rai : > Hi Feng, > > As per my previous comment: >>> Thanks for the patch Feng, I have tested this patch and below panic has >>> also disappeared. > patch applied successfully and the pani

Re: [BUG] Slab corruption during XFS writeback under memory pressure

2016-07-18 Thread Calvin Owens
On 07/17/2016 11:02 PM, Dave Chinner wrote: On Sun, Jul 17, 2016 at 10:00:03AM +1000, Dave Chinner wrote: On Fri, Jul 15, 2016 at 05:18:02PM -0700, Calvin Owens wrote: Hello all, I've found a nasty source of slab corruption. Based on seeing similar symptoms on boxes at Facebook, I suspect it's

Re: [PATCH v5 4/8] char: rpmb: provide a user space interface

2016-07-18 Thread Paul Gortmaker
On Mon, Jul 18, 2016 at 4:27 PM, Tomas Winkler wrote: > The user space API is achieved via two synchronous IOCTL. > Simplified one, RPMB_IOC_REQ_CMD, were read result cycles is performed > by the framework on behalf the user and second, RPMB_IOC_SEQ_CMD where > the whole RPMB sequence including RE

[PATCH v5 8/8] scsi: ufs: connect to RPMB subsystem

2016-07-18 Thread Tomas Winkler
Register UFS RPMB LUN with the RPMB subsystem and provide implementation for the RPMB access operations. RPMB partition is accessed via a sequence of security protocol in and security protocol out commands with UFS specific parameters. This multi step process is abstracted into 4 basic RPMB command

[PATCH v5 7/8] mmc: block: register RPMB partition with the RPMB subsystem

2016-07-18 Thread Tomas Winkler
Register eMMC RPMB partition with the RPMB subsystem and provide implementation for the RPMB access operations abstracting actual multi step process. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- V2: resend V3: commit message fix V4: Kconfig: use select RPMB to ensure valid c

[PATCH v5 0/8] Replay Protected Memory Block (RPMB) subsystem

2016-07-18 Thread Tomas Winkler
Few storage technologies such is EMMC, UFS, and NVMe support RPMB hardware partition with common protocol and frame layout. The RPMB partition cannot be accessed via standard block layer, but by a set of specific commands: WRITE, READ, GET_WRITE_COUNTER, and PROGRAM_KEY. Such a partition provides a

[PATCH v5 2/8] char: rpmb: add sysfs-class ABI documentation

2016-07-18 Thread Tomas Winkler
Signed-off-by: Tomas Winkler --- V2: resend V3: add more verbose description V4: resend V5: adjust date and kernel version Documentation/ABI/testing/sysfs-class-rpmb | 20 MAINTAINERS| 1 + 2 files changed, 21 insertions(+) create mode 10064

[PATCH v5 6/8] tools rpmb: add RPBM access tool

2016-07-18 Thread Tomas Winkler
Add simple RPMB host testing tool. It can be used to program key, write and read data block, and retrieve write counter. Signed-off-by: Tomas Winkler --- V2: resend V3: fix missing objtool V4: add verbose option V5: 1. Adjust to the new API. 2. Exercise both request and sequence ioctls. MAI

[PATCH v5 5/8] char: rpmb: add RPMB simulation device

2016-07-18 Thread Tomas Winkler
This is a simple platform device used for testing the RPMB subsystem. The module currently supports two configuration options: 1. max_wr_blks: for specifying max blocks that can be written in a single command 2. daunits: used to set storage capacity in 128K units. Signed-off-by: Tomas Winkler

[PATCH v5 4/8] char: rpmb: provide a user space interface

2016-07-18 Thread Tomas Winkler
The user space API is achieved via two synchronous IOCTL. Simplified one, RPMB_IOC_REQ_CMD, were read result cycles is performed by the framework on behalf the user and second, RPMB_IOC_SEQ_CMD where the whole RPMB sequence including RESULT_READ is supplied by the caller. The latter is intended for

[PATCH v5 3/8] char: rpmb: add device attributes

2016-07-18 Thread Tomas Winkler
Add attribute type that displays underlay storage type technology EMMC, UFS, and attribute id, that displays underlay storage device id. For EMMC this would be content of CID and for UFS serial number from the device descriptor. Signed-off-by: Tomas Winkler --- V2: resend V3: set kernel version

[PATCH v5 1/8] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2016-07-18 Thread Tomas Winkler
Few storage technologies such is EMMC, UFS, and NVMe support RPMB hardware partition with common protocol and frame layout. The RPMB partition cannot be accessed via standard block layer, but by a set of specific commands: WRITE, READ, GET_WRITE_COUNTER, and PROGRAM_KEY. Such a partition provides a

Re: [PATCH 1/2] lpfc: call lpfc_sli_validate_fcp_iocb() with the hbalock held

2016-07-18 Thread Laurence Oberman
- Original Message - > From: "Johannes Thumshirn" > To: "Martin K . Petersen" , "James Bottomley" > , "James Smart" > , "Dick Kennedy" > Cc: "Linux SCSI Mailinglist" , "Johannes > Thumshirn" > Sent: Monday, July 18, 2016 10:06:03 AM > Subject: [PATCH 1/2] lpfc: call lpfc_sli_validate

[PATCH 1/2] lpfc: call lpfc_sli_validate_fcp_iocb() with the hbalock held

2016-07-18 Thread Johannes Thumshirn
Call lpfc_sli_validate_fcp_iocb() with the hbalock held, as the pointer to iocbq is not guaranteed to still be valid after looking it up. Signed-off-by: Johannes Thumshirn --- drivers/scsi/lpfc/lpfc_sli.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/driver

Re: [PATCH] iscsi-target: fix panic when add the second TCP connection to iSCSI session

2016-07-18 Thread Sumit Rai
Hi Feng, As per my previous comment: >> Thanks for the patch Feng, I have tested this patch and below panic has also >> disappeared. patch applied successfully and the panic has disappeared, so your fix works. Regards, Sumit Rai > On Jul 18, 2016, at 7:49 AM, Feng Li wrote: > > Hi Sumit, > >