From: Hannes Reinecke
Implement zoned block device zone information reporting and reset.
Zone information are reported as struct blk_zone. This implementation
does not differentiate between host-aware and host-managed device
models and is valid for both. Two functions are provided:
blkdev_report_
From: Hannes Reinecke
Implement ZBC support functions to setup zoned disks, both
host-managed and host-aware models. Only zoned disks that satisfy
the following conditions are supported:
1) All zones are the same size, with the exception of an eventual
last smaller runt zone.
2) For host-manag
Adds the new BLKREPORTZONE and BLKRESETZONE ioctls for respectively
obtaining the zone configuration of a zoned block device and resetting
the write pointer of sequential zones of a zoned block device.
The BLKREPORTZONE ioctl maps directly to a single call of the function
blkdev_report_zones. The
From: Shaun Tancheff
Define REQ_OP_ZONE_REPORT and REQ_OP_ZONE_RESET for handling zones of
host-managed and host-aware zoned block devices. With with these two
new operations, the total number of operations defined reaches 8 and
still fits with the 3 bits definition of REQ_OP_BITS.
Signed-off-by
From: Hannes Reinecke
Signed-off-by: Hannes Reinecke
Signed-off-by: Damien Le Moal
Reviewed-by: Christoph Hellwig
Reviewed-by: Martin K. Petersen
Reviewed-by: Shaun Tancheff
Tested-by: Shaun Tancheff
---
block/blk-settings.c | 4
1 file changed, 4 insertions(+)
diff --git a/block/blk
From: Hannes Reinecke
The queue limits already have a 'chunk_sectors' setting, so
we should be presenting it via sysfs.
Signed-off-by: Hannes Reinecke
[Damien: Updated Documentation/ABI/testing/sysfs-block]
Signed-off-by: Damien Le Moal
Reviewed-by: Christoph Hellwig
Reviewed-by: Martin K.
From: Damien Le Moal
Add the zoned queue limit to indicate the zoning model of a block device.
Defined values are 0 (BLK_ZONED_NONE) for regular block devices,
1 (BLK_ZONED_HA) for host-aware zone block devices and 2 (BLK_ZONED_HM)
for host-managed zone block devices. The standards defined drive
This series introduces support for zoned block devices. It integrates
earlier submissions by Hannes Reinecke, Damien Le Moal and Shaun Tancheff.
Compared to the previous series version, the code was significantly
simplified by limiting support to zoned devices satisfying the following
conditions:
1
Hello Bart,
I rebased this series on Jens for-4.9/block and will repost.
Thanks!
--Shaun
On Fri, Sep 30, 2016 at 12:18 PM, Bart Van Assche
wrote:
> On 09/30/2016 09:47 AM, Shaun Tancheff wrote:
>> On Fri, Sep 30, 2016 at 11:10 AM, Bart Van Assche
>> wrote:
>>> On 09/29/16 21:11, Damien Le Moal
On 09/30/2016 09:47 AM, Shaun Tancheff wrote:
> On Fri, Sep 30, 2016 at 11:10 AM, Bart Van Assche
> wrote:
>> On 09/29/16 21:11, Damien Le Moal wrote:
>>> This series introduces support for zoned block devices.
>>
>> On top of which kernel version do these patches apply? I tried to apply the
>> wh
Hi Bart,
This series is against linux-next tag next-20160928.
You should be able to "git am" the series on top of that.
Thanks!
Shaun
On Fri, Sep 30, 2016 at 11:10 AM, Bart Van Assche
wrote:
> On 09/29/16 21:11, Damien Le Moal wrote:
>>
>> This series introduces support for zoned block devices.
On 09/29/16 21:11, Damien Le Moal wrote:
This series introduces support for zoned block devices.
Hi Damien,
On top of which kernel version do these patches apply? I tried to apply
the whole series to kernel v4.7 but that caused "git am" to complain ...
Thank you,
Bart.
--
To unsubscribe f
The 09/29/2016 10:45, Tejun Heo wrote:
> Hello,
>
> On Tue, Sep 27, 2016 at 11:14:55AM -0700, Adam Manzanares wrote:
> > +/**
> > + * ata_ncq_prio_enabled - Test whether NCQ prio is enabled
> > + * @dev: ATA device to test for
> > + *
> > + * LOCKING:
> > + * spin_lock_irqsave(host lock)
> > + *
>
Hello Tejun,
The 09/29/2016 10:40, Tejun Heo wrote:
> Hello,
>
> On Tue, Sep 27, 2016 at 11:14:54AM -0700, Adam Manzanares wrote:
> > Patch adds association between iocontext and a request.
> >
> > Signed-off-by: Adam Manzanares
>
> Can you please describe how this may impact existing usages?
On 09/29/16 14:51, Ming Lei wrote:
On Thu, Sep 29, 2016 at 7:59 AM, Bart Van Assche
wrote:
blk_quiesce_queue() prevents that new queue_rq() invocations
blk_mq_quiesce_queue()
Thanks, I will update the patch title and patch description.
+void blk_mq_quiesce_queue(struct request_queue *q)
+
CC: linux-block@vger.kernel.org
Reviewed-by: Omar Sandoval
Signed-off-by: Alexander Gordeev
---
block/blk-mq.c | 2 --
include/linux/blkdev.h | 1 -
2 files changed, 3 deletions(-)
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 0be5577..c96a168 100644
--- a/block/blk-mq.c
+++ b/bloc
CC: linux-block@vger.kernel.org
Reviewed-by: Omar Sandoval
Signed-off-by: Alexander Gordeev
---
block/blk-mq.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 92c2519..e3e9b23 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -
CC: linux-block@vger.kernel.org
Reviewed-by: Omar Sandoval
Signed-off-by: Alexander Gordeev
---
block/blk-mq.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/block/blk-mq.c b/block/blk-mq.c
index e3e9b23..eed6e348 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@
CC: linux-block@vger.kernel.org
Signed-off-by: Alexander Gordeev
---
block/blk-mq-sysfs.c | 5 +
block/blk-mq.c | 2 +-
block/blk-mq.h | 1 +
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/block/blk-mq-sysfs.c b/block/blk-mq-sysfs.c
index 01fb455..11846d0 100644
---
blk_mq_hw_ctx::queue_num is initialized in blk_mq_init_hctx()
function.
CC: linux-block@vger.kernel.org
Reviewed-by: Omar Sandoval
Signed-off-by: Alexander Gordeev
---
block/blk-mq.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/block/blk-mq.c b/block/blk-mq.c
index c96a168..92c2519 100644
Handling of blk_mq_hw_ctx::ctxs field (de-)allocation is
confusing due to special treatment of the field introduced
in commit c3b4afca7023 ("blk-mq: free hctx->ctxs in queue's
release handler")'. Make it bit more readable by binding
hctx and hctx->ctxs (de-)allocation.
CC: linux-block@vger.kernel.
Hello,
The series is against:
git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
Thanks!
CC: linux-block@vger.kernel.org
Alexander Gordeev (8):
block: Get rid of unused request_queue::nr_queues member
blk-mq: Remove a redundant assignment
blk-mq: Fix hardware
CC: linux-block@vger.kernel.org
Signed-off-by: Alexander Gordeev
---
block/blk-mq.c | 37 +++--
1 file changed, 11 insertions(+), 26 deletions(-)
diff --git a/block/blk-mq.c b/block/blk-mq.c
index eed6e348..15c03c2 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
Rework blk_mq_realloc_hw_ctxs() so deallocation is done in order
reverse to allocation and indentation is bit more easy to read.
CC: linux-block@vger.kernel.org
Signed-off-by: Alexander Gordeev
---
block/blk-mq.c | 40 ++--
1 file changed, 22 insertions(+), 18
On Thu, Sep 29, 2016 at 08:33:30AM -0700, Bart Van Assche wrote:
> Unlocking a mutex twice is wrong. Hence modify blkcg_policy_register()
> such that blkcg_pol_mutex is unlocked once if cpd == NULL. This patch
> avoids that smatch reports the following error:
>
> block/blk-cgroup.c:1378: blkcg_pol
On 09/30/2016 06:11 AM, Damien Le Moal wrote:
From: Shaun Tancheff
Adds the new BLKREPORTZONE and BLKRESETZONE ioctls for respectively
obtaining the zone configuration of a zoned block device and resetting
the write pointer of sequential zones of a zoned block device.
The BLKREPORTZONE ioctl m
On 09/30/2016 06:11 AM, Damien Le Moal wrote:
From: Shaun Tancheff
Define REQ_OP_ZONE_REPORT and REQ_OP_ZONE_RESET for handling zones of
host-managed and host-aware zoned block devices. With with these two
new operations, the total number of operations defined reaches 8 and
still fits with the
27 matches
Mail list logo