Re: [PATCH v3 01/11] PCI/P2PDMA: Support peer-to-peer memory

2018-03-22 Thread Stephen Bates
> I've seen the response that peers directly below a Root Port could not > DMA to each other through the Root Port because of the "route to self" > issue, and I'm not disputing that. Bjorn You asked me for a reference to RTS in the PCIe specification. As luck would have it I ended up in an

smp affinity and kworker io submission

2018-03-22 Thread Kashyap Desai
Hi, I am running FIO script on Linux 4.15. This is generic behavior even on 3.x kernels as well. I wanted to know if my observation is correct or not. Here is FIO command - numactl -C 0-2 fio single --bs=4k --iodepth=64 --rw=randread --ioscheduler=none --group_report --numjobs=2 If driver is

Re: [PATCH] mmc: block: Delete gendisk before cleaning up the request queue

2018-03-22 Thread Jens Axboe
On 3/22/18 10:59 AM, Bart Van Assche wrote: > On Thu, 2018-03-22 at 18:56 +0800, Shawn Lin wrote: >> dd if=/dev/urandom of=/dev/mmcblk1 bs=4k count=1 >> with a SD card hotplug during transfer reports a warning below >> introduced by commit a063057d7c73 ("block: Fix a race between >> request

Re: problem with bio handling on raid5 and pblk

2018-03-22 Thread Matias Bjørling
On 03/22/2018 03:34 PM, Javier González wrote: Hi, I have been looking into a bug report when using pblk and raid5 on top and I am having problems understanding if the problem is in pblk's bio handling or on raid5's bio assumptions on the completion path. The problem occurs on the read path.

Re: [PATCH] mmc: block: Delete gendisk before cleaning up the request queue

2018-03-22 Thread Bart Van Assche
On Thu, 2018-03-22 at 18:56 +0800, Shawn Lin wrote: > dd if=/dev/urandom of=/dev/mmcblk1 bs=4k count=1 > with a SD card hotplug during transfer reports a warning below > introduced by commit a063057d7c73 ("block: Fix a race between > request queue removal and the block cgroup controller"). So

problem with bio handling on raid5 and pblk

2018-03-22 Thread Javier González
Hi, I have been looking into a bug report when using pblk and raid5 on top and I am having problems understanding if the problem is in pblk's bio handling or on raid5's bio assumptions on the completion path. The problem occurs on the read path. In pblk, we take a reference to every read bio as

[PATCH] mmc: block: Delete gendisk before cleaning up the request queue

2018-03-22 Thread Shawn Lin
dd if=/dev/urandom of=/dev/mmcblk1 bs=4k count=1 with a SD card hotplug during transfer reports a warning below introduced by commit a063057d7c73 ("block: Fix a race between request queue removal and the block cgroup controller"). So we should now remove the disk, partition and bdi sysfs