On 2016/6/2 10:37, Wei Fang wrote:
> Hi, Kevin,
>
> On 2016/6/1 22:36, Kevin Groeneveld wrote:
>>> Subject: [PATCH v2 1/2] scsi: fix race between simultaneous decrements of
>>> ->host_failed
>>
>> I wonder if this could be related to
>> http://www.spinics.net/lists/linux-scsi/msg86808.html?
>>
Hi, Kevin,
On 2016/6/1 22:36, Kevin Groeneveld wrote:
>> Subject: [PATCH v2 1/2] scsi: fix race between simultaneous decrements of
>> ->host_failed
>
> I wonder if this could be related to
> http://www.spinics.net/lists/linux-scsi/msg86808.html?
>
> I never did get to the bottom of that. If I
Hi, James,
On 2016/6/1 22:06, James Bottomley wrote:
> On Tue, 2016-05-31 at 16:38 +0800, Wei Fang wrote:
>> sas_ata_strategy_handler() adds the works of the ata error handler
>> to system_unbound_wq. This workqueue asynchronously runs work items,
>> so the ata error handler will be performed conc
Jsem zastupujicí investicní zajem ze strany Dubaji, pro ktere hledáme vasi
ucast. Odpoved na e-mailu nize v pripade zajmu.
E-mail: pbrt...@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo in
On Wed, Jun 1, 2016 at 2:41 PM, Tomas Winkler wrote:
> Few storage technology 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
On 06/01/2016 01:52 AM, Christoph Hellwig wrote:
> Looks fine,
>
> Reviewed-by: Christoph Hellwig
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.ht
Few storage technology 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 aut
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
The user space API is achieved via single synchronous IOCTL.
The request is submitted in in_frames_ptr pointer and received
in out_frames_ptr.
V2: use memdup_user
V3: commit message fix
V4: resend
Signed-off-by: Tomas Winkler
---
Documentation/ioctl/ioctl-number.txt | 1 +
MAINTAINERS
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.
V2: remove .owner setting, it i
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.
V2: resend
V3: set the kernel version to 4.7
V4: set the kernel versi
V2: resend
V3: add more verbose description
V4: update kernel version to 4.8
Signed-off-by: Tomas Winkler
---
Documentation/ABI/testing/sysfs-class-rpmb | 20
MAINTAINERS| 1 +
2 files changed, 21 insertions(+)
create mode 100644 Documentati
Add simple RPMB host testing tool. It can be used
to program key, write and read data block, and retrieve
write counter.
V2: resend
V3: fix missing objtool
V4: add verbose option
Signed-off-by: Tomas Winkler
---
MAINTAINERS | 1 +
tools/Makefile| 14 +-
tools/rpmb/.gitignor
From: Nicholas Bellinger
This patch converts IBLOCK + FILEIO for sbc_ops->execute_write_same()
to accept struct target_iostate, and pass a new get_sectors() function
pointer used to decode a command set specific number of logical blocks
(NoLB).
Cc: Jens Axboe
Cc: Christoph Hellwig
Cc: Martin P
From: Nicholas Bellinger
Convert IBLOCK, FILEIO and RD to use target_iostate.
This includes converting sbc_ops->execute_rw() to accept a
function pointer callback:
void (*t_comp_func)(struct target_iostate *, u16))
As well as a 'bool fua_write' flag for signaling forced
unit-access to IBLO
From: Nicholas Bellinger
This patch converts the se_cmd->execute_cmd() caller
to accept target_iostate, and updates existing users
tree-wide.
Cc: Jens Axboe
Cc: Christoph Hellwig
Cc: Martin Petersen
Cc: Sagi Grimberg
Cc: Hannes Reinecke
Cc: Mike Christie
Signed-off-by: Nicholas Bellinger
From: Nicholas Bellinger
Hi Jens, HCH & Co,
This series introduces target_iostate and target_iomem descriptors
that abstract what existing target backend drivers require in order
to process I/O, sync_cache, write_same and unmap via sbc_ops.
The purpose is to allow existing target backend driver
From: Nicholas Bellinger
If a command with a Simple task attribute is failed due to a Unit
Attention, then a subsequent command with an Ordered task attribute
will hang forever. The reason for this is that the Unit Attention
status is checked for in target_setup_cmd_from_cdb, before the call
to
From: Nicholas Bellinger
This patch adds a basic target_complete_ios() wrapper to
dereference struct se_cmd from struct target_iostate, and
invoke existing target_complete_cmd() code.
It also includes PSCSI + TCMU backend driver conversions.
Cc: Jens Axboe
Cc: Christoph Hellwig
Cc: Martin Pet
From: Nicholas Bellinger
This patch converts sbc_dif_copy_prot() to use struct target_iomem
for existing T10-PI scatterlist memory and scatterlist count
dereferences.
Also convert the single external user in rd_do_prot_rw() code.
Cc: Jens Axboe
Cc: Christoph Hellwig
Cc: Martin Petersen
Cc: S
From: Nicholas Bellinger
This patch introduces a new struct target_iostate descriptor
containing logical block address, length in bytes, data_direction,
T10-PI, and target_iostate completion callback.
This includes:
- t_task_* // Used for LBA + Number of LBAs
- data_* // Used for length
From: Nicholas Bellinger
This patch sets up the required target_iostate pointers to
se_cmd->execute_cmd() via existing sbc_ops.
This includes:
- struct se_device,
- struct target_iomem,
- and ->t_comp_func() callback.
Cc: Jens Axboe
Cc: Christoph Hellwig
Cc: Martin Petersen
Cc: Sag
From: Nicholas Bellinger
This patch allows backend driver sbc_ops function pointers
to be accessed externally, so external target consumers
can perform target_iostate + target_iomem I/O submission
outside of /sys/kernel/config/target/$FABRIC/ users.
Specifically, IBLOCK, FILEIO, and RAMDISK have
From: Nicholas Bellinger
This patch convert IBLOCK + FILEIO for sbc_ops->execute_sync_cache()
to accept struct target_iostate, and avoid backend driver sync_cache
SCSI CDB decoding for immediate as reported by HCH.
Reported-by: Christoph Hellwig
Cc: Jens Axboe
Cc: Martin Petersen
Cc: Sagi Gri
From: Nicholas Bellinger
This patch converts IBLOCK + FILEIO for sbc_ops->execute_unmap()
to accept struct target_iostate.
Cc: Jens Axboe
Cc: Christoph Hellwig
Cc: Martin Petersen
Cc: Sagi Grimberg
Cc: Hannes Reinecke
Cc: Mike Christie
Signed-off-by: Nicholas Bellinger
---
drivers/target
From: Nicholas Bellinger
This patch converts sbc_dif_verify() and associated existing
T10-PI FILEIO driver to use target_iostate
Also add FIXMEs for target_*_prot_action for target_iostate +
target_iomem so this logic can eventually used by external
drivers doing TARGET_PROT_DOUT_INSERT + TARGET
From: Nicholas Bellinger
This patch introduces a new struct target_iomem descriptor
containing scatterlist memory + scatterlist counts within
existing struct se_cmd.
This includes:
- t_data_* // Used to store READ/WRITE payloads
- t_data_*_orig // Used to store COMPARE_AND_WRITE payload
From: Nicholas Bellinger
This patch folks the two existing iblock_req members
into target_iostate, and updates associated sbc_ops
iblock_execute_rw() iblock_execute_write_same()
callbacks.
Also, go ahead and drop target_iostate->priv now
that it's unused.
Cc: Jens Axboe
Cc: Christoph Hellwig
Register eMMC RPMB partition with the RPMB subsystem and provide
implementation for the RPMB access operations abstracting
actual multi step process.
V2: resend
V3: commit message fix
V4: Kconfig: use select RPMB to ensure valid configuration
Switch back to main area after RPMB access
Signed-
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
Hi Robert,
Adding HCH + Sagi CC, as there have been significant changes made in
RDMA for v4.6 code.
On Tue, 2016-05-31 at 17:46 -0600, Robert LeBlanc wrote:
> I've been working with iSER trying to maximize performance. I have two
> FDR Infiniband cards (three ports total) and I've created multipl
On Wed, 2016-06-01 at 17:41 +0800, kbuild test robot wrote:
> tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git queue
> head: 4d13930836b3a61c70603178d8a3c60e633e40f1
> commit: 39a54101d1cc581dbf494b0964537e795466e0d4 [6/14] target: Convert
> se_cmd->execute_cmd t
On Wed, 2016-06-01 at 17:32 +0800, kbuild test robot wrote:
> tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git queue
> head: 4d13930836b3a61c70603178d8a3c60e633e40f1
> commit: 11a5da226987da220b750fc40b039936ff6fe5ae [3/14] target: Add
> target_iostate descriptor
ent with large steps on some systems).
While in there, include the CPU number in the debug message, which
helps reading it on systems with many CPUs.
This depends on commit 'powerpc: export cpu_to_core_id()' (submitted
to the linuxppc-dev mailing list). Tested on next-20160601 w/ com
(topology information),
which has server processors with many cores/threads and per-core caches.
Although the series include bits for PowerPC64, the per-core scheduling patch
is architecture independent.
Tested on next-20160601 (with an extra commit for patch 1/2, see commit msg).
Mauricio Faria de
Tested on next-20160601.
Signed-off-by: Mauricio Faria de Oliveira
---
drivers/scsi/lpfc/lpfc_attr.c | 8 +--
drivers/scsi/lpfc/lpfc_hw4.h | 1 +
drivers/scsi/lpfc/lpfc_init.c | 54 ++-
drivers/scsi/lpfc/lpfc_scsi.c | 3 ++-
4 files changed, 62 insert
On Wed, 2016-06-01 at 08:29 -0700, Bart Van Assche wrote:
> On 06/01/2016 07:36 AM, Kevin Groeneveld wrote:
> > > Subject: [PATCH v2 1/2] scsi: fix race between simultaneous
> > > decrements of ->host_failed
> >
> > I wonder if this could be related to
> > http://www.spinics.net/lists/linux-scsi/
On 06/01/2016 07:36 AM, Kevin Groeneveld wrote:
Subject: [PATCH v2 1/2] scsi: fix race between simultaneous decrements of
->host_failed
I wonder if this could be related to
http://www.spinics.net/lists/linux-scsi/msg86808.html?
I never did get to the bottom of that. If I have time I hope to
> Subject: [PATCH v2 1/2] scsi: fix race between simultaneous decrements of
> ->host_failed
I wonder if this could be related to
http://www.spinics.net/lists/linux-scsi/msg86808.html?
I never did get to the bottom of that. If I have time I hope to retest my scsi
hang issue with this patch.
On Wed, Jun 01, 2016 at 03:17:14PM +0200, Gernot Hillier wrote:
> I repeated the discussed tests and found comparable results on this machine:
>
> - 3 seconds dpkg install time on ext3 vs. 80 seconds for ext4
> on same partition for same package
> - 40 ms for fallocate+write+sync_file_range for
On Tue, 2016-05-31 at 16:38 +0800, Wei Fang wrote:
> sas_ata_strategy_handler() adds the works of the ata error handler
> to system_unbound_wq. This workqueue asynchronously runs work items,
> so the ata error handler will be performed concurrently on different
> CPUs. In this case, ->host_failed w
On 01.06.2016 11:44, Gernot Hillier wrote:
> Hi!
>
> On 31.05.2016 02:21, Dave Chinner wrote:
>> On Mon, May 30, 2016 at 10:27:52AM +0200, Gernot Hillier wrote:
>>> Hi!
>>>
>>> On 25.05.2016 01:13, Theodore Ts'o wrote:
On Tue, May 24, 2016 at 07:07:41PM +0200, Gernot Hillier wrote:
> We e
Hi!
On 31.05.2016 02:21, Dave Chinner wrote:
> On Mon, May 30, 2016 at 10:27:52AM +0200, Gernot Hillier wrote:
>> Hi!
>>
>> On 25.05.2016 01:13, Theodore Ts'o wrote:
>>> On Tue, May 24, 2016 at 07:07:41PM +0200, Gernot Hillier wrote:
We experience strange delays with kernel 4.1.18 during dpkg
tree: https://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git
queue
head: 4d13930836b3a61c70603178d8a3c60e633e40f1
commit: 39a54101d1cc581dbf494b0964537e795466e0d4 [6/14] target: Convert
se_cmd->execute_cmd to target_iostate
config: sh-allyesconfig (attached as .config)
compile
tree: https://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git
queue
head: 4d13930836b3a61c70603178d8a3c60e633e40f1
commit: 11a5da226987da220b750fc40b039936ff6fe5ae [3/14] target: Add
target_iostate descriptor
config: tile-allyesconfig (attached as .config)
compiler: tilegx-linu
On Wed, Jun 01, 2016 at 12:59:29AM -0700, Christoph Hellwig wrote:
> On Tue, May 31, 2016 at 02:05:11PM +0200, Johannes Thumshirn wrote:
> > Now that we do have pci_request_mem_regions() and pci_release_mem_regions()
> > at
> > hand, use it in the lpfc driver.
>
> This should read lpfc instead of
On Tue, May 31, 2016 at 02:05:11PM +0200, Johannes Thumshirn wrote:
> Now that we do have pci_request_mem_regions() and pci_release_mem_regions() at
> hand, use it in the lpfc driver.
This should read lpfc instead of scsi in the subject line.
Also the request side of the patch seems to be missing
Looks fine,
Reviewed-by: Christoph Hellwig
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
48 matches
Mail list logo