> Il giorno 23 feb 2018, alle ore 17:17, Ming Lei ha
> scritto:
>
> Hi Paolo,
>
> On Fri, Feb 23, 2018 at 04:41:36PM +0100, Paolo Valente wrote:
>>
>>
>>> Il giorno 23 feb 2018, alle ore 16:07, Ming Lei ha
>>> scritto:
>>>
>>> Hi Paolo,
>>>
>>>
The readable size of new, factory blank, optical media can change via user
space ioctl(SG_IO) commands to format overwritable media such as DVD+RW for
a UDF filesystem or write to sequential media such as DVD-R for an ISO-9660
filesystem. However there appears to be no easy way to update the size
Hi Tejun,
On 18/2/23 22:23, Tejun Heo wrote:
> Hello,
>
> On Fri, Feb 23, 2018 at 09:56:54AM +0800, xuejiufei wrote:
>>> On Thu, Feb 22, 2018 at 02:14:34PM +0800, Joseph Qi wrote:
I still don't get how css_tryget can work here.
The race happens when:
1) writeback kworker has
On Fri, 2018-02-23 at 23:36 +0800, Ming Lei wrote:
> __blk_mq_requeue_request() covers two cases:
>
> - one is that the requeued request is added to hctx->dispatch, such as
> blk_mq_dispatch_rq_list()
>
> - another case is that the request is requeued to io scheduler, such as
>
On 2/9/18 5:46 PM, Ming Lei wrote:
> The 'lend' parameter of truncate_inode_pages_range is required to be
> inclusive, so follow the rule.
>
> This patch fixes one memory corruption triggered by discard.
Applied, thanks.
--
Jens Axboe
On Sat, 2018-02-10 at 08:46 +0800, Ming Lei wrote:
> The 'lend' parameter of truncate_inode_pages_range is required to be
> inclusive, so follow the rule.
>
> This patch fixes one memory corruption triggered by discard.
Reviewed-by: Bart Van Assche
On 02/23/2018 06:40 PM, Heiner Litz wrote:
fix reading bad block device information to correctly setup the per line
blk_bitmap during lightnvm initialization
Signed-off-by: Heiner Litz
---
drivers/lightnvm/pblk-init.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Hi,
The Fedora arm-32 build VMs have a somewhat long standing problem
of hanging when running mkfs.ext4 with a bunch of processes stuck
in D state. This has been seen as far back as 4.13 but is still
present on 4.14:
sysrq: SysRq : Show Blocked State
The readable size of new, factory blank, optical media can change via user
space ioctl(SG_IO) commands to format overwritable media such as DVD+RW for
a UDF filesystem or write to sequential media such as DVD-R for an ISO-9660
filesystem. However there appears to be no easy way to update the size
On Sat, 2018-02-24 at 00:26 +0800, Ming Lei wrote:
> The following 2 patch fixes one IO hang on kyber in my test on USB, could
> you test it and see if your case can be fixed?
>
> https://marc.info/?l=linux-block=151940022831994=2
These two patches are sufficient to make my test pass.
On Fri, 2018-02-23 at 23:36 +0800, Ming Lei wrote:
> When requeuing request, the domain token should have been freed
> before re-inserting the request to io scheduler. Otherwise, the
> assigned domain token will be leaked, and IO hang can be caused.
Please consider to add a "Cc: stable" tag to
On Thu, Feb 22, 2018 at 09:10:23PM +, Bart Van Assche wrote:
> Hello Omar,
>
> I/O hangs if I run the following command on top of kernel v4.16-rc2 + the
> ib_srpt patch that adds RDMA/CM support:
>
> srp-test/run_tests -c -d -r 10 -t 02-mq -e kyber
>
> This does not happen with the deadline
Hi Paolo,
On Fri, Feb 23, 2018 at 04:41:36PM +0100, Paolo Valente wrote:
>
>
> > Il giorno 23 feb 2018, alle ore 16:07, Ming Lei ha
> > scritto:
> >
> > Hi Paolo,
> >
> > On Wed, Feb 07, 2018 at 10:19:20PM +0100, Paolo Valente wrote:
> >> Commit 'a6a252e64914
On Fri, 2018-02-23 at 09:26 +0100, Johannes Thumshirn wrote:
> how about "block: Add 'lock' as third argument to
> blk_alloc_queue_node()"?
>
> So one actually sees early enough what the thrird argument will be?
Hello Johannes,
If I have to repost this patch series I will make that change.
On Fri, 2018-02-23 at 11:58 +0200, Jaco Kroon wrote:
> On 22/02/2018 18:46, Bart Van Assche wrote:
> > (cd /sys/kernel/debug/block && find . -type f -exec grep -aH . {} \;)
>
> I don't have a /sys/kernel/debug folder - I've enabled CONFIG_DEBUG_FS
> and BLK_DEBUG_FS, will reboot at the first
Hi all,
While fuzzing arm64/v4.16-rc2 with syzkaller, I simultaneously hit a
number of splats in the block layer:
* inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-R} usage in
jbd2_trans_will_send_data_barrier
* BUG: sleeping function called from invalid context at mm/mempool.c:320
* WARNING:
> Il giorno 23 feb 2018, alle ore 16:07, Ming Lei ha
> scritto:
>
> Hi Paolo,
>
> On Wed, Feb 07, 2018 at 10:19:20PM +0100, Paolo Valente wrote:
>> Commit 'a6a252e64914 ("blk-mq-sched: decide how to handle flush rq via
>> RQF_FLUSH_SEQ")' makes all non-flush re-prepared
When requeuing request, the domain token should have been freed
before re-inserting the request to io scheduler. Otherwise, the
assigned domain token will be leaked, and IO hang can be caused.
Cc: Paolo Valente
Cc: Omar Sandoval
Signed-off-by: Ming Lei
Hi,
This two patch fixes domain token leak on kyber scheduler, and actually
fixes one IO hang issue.
Thanks,
Ming Lei (2):
blk-mq: don't call io sched's .requeue_request when requeueing rq to
->dispatch
block: kyber: fix domain token leak during requeue
block/blk-mq.c| 4 +++-
__blk_mq_requeue_request() covers two cases:
- one is that the requeued request is added to hctx->dispatch, such as
blk_mq_dispatch_rq_list()
- another case is that the request is requeued to io scheduler, such as
blk_mq_requeue_request().
We should call io sched's .requeue_request callback
On Sat, 17 Feb 2018 11:43:04 +0530
Aishwarya Pant wrote:
> Documentation has been compiled from git logs and by reading through
> code.
>
> Signed-off-by: Aishwarya Pant
> ---
> For drivers/block/loop.c, I don't see any maintainers or mailing lists
On Fri, 23 Feb 2018 18:46:32 +0530
Aishwarya Pant wrote:
> Clean up the sysfs documentation such that it is in the same format as
> described in Documentation/ABI/README. Mainly, the patch moves the
> attribute names to the 'What:' field. This might be useful for scripting
>
Hi Paolo,
On Wed, Feb 07, 2018 at 10:19:20PM +0100, Paolo Valente wrote:
> Commit 'a6a252e64914 ("blk-mq-sched: decide how to handle flush rq via
> RQF_FLUSH_SEQ")' makes all non-flush re-prepared requests for a device
> be re-inserted into the active I/O scheduler for that device. As a
No, this
Hello,
On Fri, Feb 23, 2018 at 09:56:54AM +0800, xuejiufei wrote:
> > On Thu, Feb 22, 2018 at 02:14:34PM +0800, Joseph Qi wrote:
> >> I still don't get how css_tryget can work here.
> >>
> >> The race happens when:
> >> 1) writeback kworker has found the blkg with rcu;
> >> 2) blkcg is during
Hello,
On Fri, Feb 23, 2018 at 12:29:25PM +0800, Chengguang Xu wrote:
> > That's true, the issue Shaohua has fixed is double charge, but double
> > stat issue still exists.
> >
> > Jiufei has posted a fix, which has already been tested by Bo Liu:
> > [PATCH RESEND] blk-throttle: avoid double
Clean up the sysfs documentation such that it is in the same format as
described in Documentation/ABI/README. Mainly, the patch moves the
attribute names to the 'What:' field. This might be useful for scripting
and tracking changes in the ABI.
Signed-off-by: Aishwarya Pant
On Fri, Feb 23, 2018 at 11:14:41AM +0100, Carlos Maiolino wrote:
> On Thu, Feb 22, 2018 at 01:00:16PM -0600, Steve Kenton wrote:
> > The readable size of new, factory blank, optical media can change via user
> > space ioctl(SG_IO) commands to format overwritable media such as DVD+RW for
> > a
Hi Bart,
Thank you for your response.
On 22/02/2018 18:46, Bart Van Assche wrote:
> On 02/22/18 02:58, Jaco Kroon wrote:
>> We've been seeing sporadic IO lockups on recent kernels.
>
> Are you using the legacy I/O stack or blk-mq? If you are not yet using
> blk-mq, can you switch to blk-mq +
On 18/2/23 09:08, Bart Van Assche wrote:
> Avoid that the following race can occur:
>
> blk_cleanup_queue() blkcg_print_blkgs()
> spin_lock_irq(lock) (1) spin_lock_irq(blkg->q->queue_lock) (2,5)
> q->queue_lock = >__queue_lock (3)
> spin_unlock_irq(lock) (4)
>
On 18/2/23 09:08, Bart Van Assche wrote:
> Initialize the request queue lock earlier such that the following
> race can no longer occur:
>
> blk_init_queue_node() blkcg_print_blkgs()
> blk_alloc_queue_node (1)
> q->queue_lock = >__queue_lock (2)
> blkcg_init_queue(q) (3)
>
On 18/2/23 09:08, Bart Van Assche wrote:
> Remove the disk, partition and bdi sysfs attributes before cleaning up
> the request queue associated with the disk.
>
> Signed-off-by: Bart Van Assche
> Cc: Minchan Kim
> Cc: Nitin Gupta
On 18/2/23 09:08, Bart Van Assche wrote:
> Remove the disk, partition and bdi sysfs attributes before cleaning up
> the request queue associated with the disk.
>
> Signed-off-by: Bart Van Assche
> Cc: Shaohua Li
Looks good.
Reviewed-by: Joseph Qi
On 18/2/23 09:08, Bart Van Assche wrote:
> Remove the disk, partition and bdi sysfs attributes before cleaning up
> the request queue associated with the disk.
>
> Signed-off-by: Bart Van Assche
> Cc: Josef Bacik
> Cc: Shaohua Li
> Cc: Omar
On 18/2/23 09:08, Bart Van Assche wrote:
> This patch does not change any functionality.
>
> Signed-off-by: Bart Van Assche
> Cc: Christoph Hellwig
> Cc: Joseph Qi
> Cc: Philipp Reisner
> Cc: Ulf
> On 23 Feb 2018, at 07.12, Matias Bjørling wrote:
>
> On 02/23/2018 12:03 AM, Huaicheng Li wrote:
>> Please ignore my previous email as I found the memory is free'ed at
>> pblk_init()'s error handling logic.
>> Sorry for the interruption.
>> On Thu, Feb 22, 2018 at 3:01 PM,
Hi Bart,
how about "block: Add 'lock' as third argument to
blk_alloc_queue_node()"?
So one actually sees early enough what the thrird argument will be?
Thanks,
Johannes
--
Johannes Thumshirn Storage
jthumsh...@suse.de
Looks good,
Reviewed-by: Johannes Thumshirn
--
Johannes Thumshirn Storage
jthumsh...@suse.de+49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham
Looks good,
Reviewed-by: Johannes Thumshirn
--
Johannes Thumshirn Storage
jthumsh...@suse.de+49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham
Looks good,
Reviewed-by: Johannes Thumshirn
--
Johannes Thumshirn Storage
jthumsh...@suse.de+49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham
39 matches
Mail list logo