Skip to contentSkip to conversation

v4.16-rc1 + dm-mpath + BFQ

DISCUSSION Bart Van Assche 4 participants 18 messages Feb 9, 2018 – May 10, 2018 6 messages not in the archive Block layer

lore
Share & tools
lore
#0 lore raw

SGVsbG8gUGFvbG8sDQoNCklmIEkgZW5hYmxlIHRoZSBCRlEgc2NoZWR1bGVyIGZvciBhIGRtLW1w YXRoIGRldmljZSB0aGVuIGEga2VybmVsIG9vcHMNCmFwcGVhcnMgKHNlZSBhbHNvIGJlbG93KS4g VGhpcyBoYXBwZW5zIHN5c3RlbWF0aWNhbGx5IHdpdGggTGludXMnIHRyZWUgZnJvbQ0KdGhpcyBt b3JuaW5nIChjb21taXQgNTRjZTY4NWNhZTMwKSBtZXJnZWQgd2l0aCBKZW5zJyBmb3ItbGludXMg YnJhbmNoIChjb21taXQNCmE3ODc3MzkwNjE0NyAoImJsb2NrLCBiZnE6IGFkZCByZXF1ZXVlLXJl cXVlc3QgaG9vayIpKSBhbmQgZm9yLW5leHQgYnJhbmNoDQooY29tbWl0IDg4NDU1YWQ3ZjkyOCku IElzIHRoaXMgYSBrbm93biBpc3N1ZT8NCg0KVGhhbmtzLA0KDQpCYXJ0Lg0KDQpCVUc6IHVuYWJs ZSB0byBoYW5kbGUga2VybmVsIE5VTEwgcG9pbnRlciBkZXJlZmVyZW5jZSBhdCAwMDAwMDAwMDAw MDAwMjAwDQpJUDogcmJfZXJhc2UrMHgyODQvMHgzODANClBHRCAwIFA0RCAwIA0KT29wczogMDAw MiBbIzFdIFBSRUVNUFQgU01QDQpDUFU6IDEgUElEOiAwIENvbW06IHN3YXBwZXIvMSBUYWludGVk OiBHICAgICAgICBXICAgICAgICA0LjE1LjAtZGJnKyAjMQ0KSGFyZHdhcmUgbmFtZTogUUVNVSBT dGFuZGFyZCBQQyAoaTQ0MEZYICsgUElJWCwgMTk5NiksIEJJT1MgMS4wLjAtcHJlYnVpbHQucWVt dS1wcm9qZWN0Lm9yZyAwNC8wMS8yMDE0DQpSSVA6IDAwMTA6cmJfZXJhc2UrMHgyODQvMHgzODAN CkNhbGwgVHJhY2U6DQogPElSUT4NCiBlbHZfcmJfZGVsKzB4MjAvMHgzMA0KIGJmcV9yZW1vdmVf cmVxdWVzdCsweDhkLzB4MmUwIFtiZnFdDQogYmZxX2ZpbmlzaF9yZXF1ZXVlX3JlcXVlc3QrMHgy YmIvMHgzOTAgW2JmcV0NCiBibGtfbXFfZnJlZV9yZXF1ZXN0KzB4NTEvMHgxNzANCiBkbV9zb2Z0 aXJxX2RvbmUrMHhkNS8weDI0MCBbZG1fbW9kXQ0KIGZsdXNoX3NtcF9jYWxsX2Z1bmN0aW9uX3F1 ZXVlKzB4OTIvMHgxNDANCiBzbXBfY2FsbF9mdW5jdGlvbl9zaW5nbGVfaW50ZXJydXB0KzB4NDcv MHgyYjANCiBjYWxsX2Z1bmN0aW9uX3NpbmdsZV9pbnRlcnJ1cHQrMHhhMi8weGIwDQogPC9JUlE+

maintainer
#1 lore raw
Quoted 7 lines · Bart Van Assche

Hello Paolo,

If I enable the BFQ scheduler for a dm-mpath device then a kernel oops appears (see also below). This happens systematically with Linus' tree from this morning (commit 54ce685cae30) merged with Jens' for-linus branch (commit a78773906147 ("block, bfq: add requeue-request hook")) and for-next branch (commit 88455ad7f928). Is this a known issue?

Does it happen on Linus -git as well, or just with my for-linus merged in? What I'm getting at is if a78773906147 caused this or not.

Signature · 1 line
Jens Axboe
#2 lore raw
Quoted 11 lines · Jens Axboe
Quoted 7 lines · Bart Van Assche

Hello Paolo,

If I enable the BFQ scheduler for a dm-mpath device then a kernel oops appears (see also below). This happens systematically with Linus' tree from this morning (commit 54ce685cae30) merged with Jens' for-linus branch (commit a78773906147 ("block, bfq: add requeue-request hook")) and for-next branch (commit 88455ad7f928). Is this a known issue?

Does it happen on Linus -git as well, or just with my for-linus merged in? What I'm getting at is if a78773906147 caused this or not.

Hello Jens,

Thanks for chiming in. After having reverted commit a78773906147, after having rebuilt the BFQ scheduler, after having rebooted and after having repeated the test I see the same kernel oops being reported. I think that means that this regression is not caused by commit a78773906147. In case it would be useful, here is how gdb translates the crash address:

$ gdb block/bfq*ko
(gdb) list *(bfq_remove_request+0x8d)
0x280d is in bfq_remove_request (block/bfq-iosched.c:1760).
1755                    list_del_init(&rq->queuelist);
1756            bfqq->queued[sync]--;
1757            bfqd->queued--;
1758            elv_rb_del(&bfqq->sort_list, rq);
1759
1760            elv_rqhash_del(q, rq);
1761            if (q->last_merge == rq)
1762                    q->last_merge = NULL;
1763
1764            if (RB_EMPTY_ROOT(&bfqq->sort_list)) {

Bart.

maintainer
#3 lore raw
Quoted 21 lines · Bart Van Assche
Quoted 11 lines · Jens Axboe
Quoted 7 lines · Bart Van Assche

Hello Paolo,

If I enable the BFQ scheduler for a dm-mpath device then a kernel oops appears (see also below). This happens systematically with Linus' tree from this morning (commit 54ce685cae30) merged with Jens' for-linus branch (commit a78773906147 ("block, bfq: add requeue-request hook")) and for-next branch (commit 88455ad7f928). Is this a known issue?

Does it happen on Linus -git as well, or just with my for-linus merged in? What I'm getting at is if a78773906147 caused this or not.

Hello Jens,

Thanks for chiming in. After having reverted commit a78773906147, after having rebuilt the BFQ scheduler, after having rebooted and after having repeated the test I see the same kernel oops being reported. I think that means that this regression is not caused by commit a78773906147. In case it would be useful, here is how gdb translates the crash address:

Quoted 13 lines
$ gdb block/bfq*ko
(gdb) list *(bfq_remove_request+0x8d)
0x280d is in bfq_remove_request (block/bfq-iosched.c:1760).
1755                    list_del_init(&rq->queuelist);
1756            bfqq->queued[sync]--;
1757            bfqd->queued--;
1758            elv_rb_del(&bfqq->sort_list, rq);
1759
1760            elv_rqhash_del(q, rq);
1761            if (q->last_merge == rq)
1762                    q->last_merge = NULL;
1763
1764            if (RB_EMPTY_ROOT(&bfqq->sort_list)) {

Looks very odd. So clearly RQF_HASHED is set, but we're blowing up on the hash list pointers. I'll let Paolo take a look at this one. Thanks for testing without that commit, I want to push out my pending fixes today and this would have thrown a wrench in the works.

Signature · 1 line
Jens Axboe
#4 lore raw
Quoted 3 lines

Il giorno 09 feb 2018, alle ore 20:18, Jens Axboe <[email protected]> ha =

scritto:

Quoted 7 lines

=20

Quoted 5 lines · Bart Van Assche
Quoted 4 lines · Jens Axboe
Quoted 3 lines · Bart Van Assche

Hello Paolo,
=20
If I enable the BFQ scheduler for a dm-mpath device then a kernel =

oops

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

appears (see also below). This happens systematically with Linus' =

tree from

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

this morning (commit 54ce685cae30) merged with Jens' for-linus =

branch (commit

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

a78773906147 ("block, bfq: add requeue-request hook")) and for-next =

branch

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

(commit 88455ad7f928). Is this a known issue?

=20
Does it happen on Linus -git as well, or just with my for-linus =

merged in?

Quoted 5 lines
Quoted 5 lines
Quoted 1 line

What I'm getting at is if a78773906147 caused this or not.

=20
Hello Jens,
=20
Thanks for chiming in. After having reverted commit a78773906147, =

after=20

Quoted 1 line
Quoted 1 line

having rebuilt the BFQ scheduler, after having rebooted and after =

having=20

Quoted 3 lines
Quoted 3 lines

repeated the test I see the same kernel oops being reported. I think=20=

that means that this regression is not caused by commit a78773906147. =

In=20

Quoted 1 line
Quoted 1 line

case it would be useful, here is how gdb translates the crash =

address:

Quoted 14 lines
Quoted 14 lines

=20

$ gdb block/bfq*ko
(gdb) list *(bfq_remove_request+0x8d)
0x280d is in bfq_remove_request (block/bfq-iosched.c:1760).
1755                    list_del_init(&rq->queuelist);
1756            bfqq->queued[sync]--;
1757            bfqd->queued--;
1758            elv_rb_del(&bfqq->sort_list, rq);
1759
1760            elv_rqhash_del(q, rq);
1761            if (q->last_merge =3D=3D rq)
1762                    q->last_merge =3D NULL;
1763
1764            if (RB_EMPTY_ROOT(&bfqq->sort_list)) {
Quoted 6 lines

=20
Looks very odd. So clearly RQF_HASHED is set, but we're blowing up on the hash list pointers. I'll let Paolo take a look at this one. Thanks for testing without that commit, I want to push out my pending fixes today and this would have thrown a wrench in the works.
=20

Also this smells a little bit like some spurious elevator call. Unfortunately I have no clue on the cause. To go on, I need at least to reproduce it. In this respect: Bart, could you please tell me how to setup the offending configuration, and to cause the failure? Possibly with just one, or at most two PCs. I don't have fancier hw at the moment.

Thanks,
Paolo

Quoted 2 lines

--=20
Jens Axboe

#5 lore raw
Quoted 6 lines · Paolo Valente

Also this smells a little bit like some spurious elevator call. Unfortunately I have no clue on the cause. To go on, I need at least to reproduce it. In this respect: Bart, could you please tell me how to setup the offending configuration, and to cause the failure? Possibly with just one, or at most two PCs. I don't have fancier hw at the moment.

Hello Paolo,

Although I expect that it is possible to reproduce this with an unmodified v4.16-rc1 kernel, this is how I ran into this issue:
* Clone the for-next branch of https://github.com/bvanassche/linux.
* Build and install that kernel in a virtual machine.
* Clone https://github.com/bvanassche/srp-test.
* Run the following command:
srp-test/run_tests -c -d -r 10 -t 02-mq -e bfq

Thanks,

Bart.

#6 lore raw
Quoted 3 lines

Il giorno 12 feb 2018, alle ore 17:31, Bart Van Assche =

<[email protected]> ha scritto:

Quoted 8 lines

=20

Quoted 6 lines · Paolo Valente

Also this smells a little bit like some spurious elevator call. Unfortunately I have no clue on the cause. To go on, I need at least to reproduce it. In this respect: Bart, could you please tell me how to setup the offending configuration, and to cause the failure? Possibly with just one, or at most two PCs. I don't have fancier hw at the moment.

Quoted 4 lines

=20
Hello Paolo,
=20
Although I expect that it is possible to reproduce this with an =

unmodified v4.16-rc1 kernel, this is how I ran into this issue:

Quoted 6 lines

* Clone the for-next branch of https://github.com/bvanassche/linux.
* Build and install that kernel in a virtual machine.
* Clone https://github.com/bvanassche/srp-test.
* Run the following command:
srp-test/run_tests -c -d -r 10 -t 02-mq -e bfq
=20

Hi Bart,
as a first attempt, I've followed your steps, but got:
Error: could not find sg_reset
expectedly because of dependencies that you are implying in your steps.

So, I have followed the instructions in the srp-test README for the case "Running the Tests on an Ethernet Setup", directly on a 4.16-rc1.

For ib_srp-backport, I get a lot of warnings like the following one, at "make install" (preceded by corresponding warnings at the end of the compilation):
depmod: WARNING: /lib/modules/4.16.0-rc1+/extra/ib_srp.ko needs unknown = symbol rdma_resolve_addr

Unfortunately, it gets worse while executing "make scst srpt":

CC [M] /home/paolo/scst/srpt/src/ib_srpt.o
In file included from /home/paolo/scst/srpt/src/ib_srpt.c:62:0:
/home/paolo/scst/srpt/src/ib_srpt.h:481:8: error: redefinition of = =E2=80=98struct srp_login_req_rdma=E2=80=99

 struct srp_login_req_rdma {
        ^~~~~~~~~~~~~~~~~~
In file included from /home/paolo/scst/srpt/src/ib_srpt.h:44:0,
                 from /home/paolo/scst/srpt/src/ib_srpt.c:62:
/mnt/linux-dev/linux/include/scsi/srp.h:139:8: note: originally defined =
here
 struct srp_login_req_rdma {
        ^~~~~~~~~~~~~~~~~~

Could you please give me some help, so as to not get lost among these = issues?

Thanks,
Paolo

Quoted 3 lines

Thanks,
=20
Bart.

#7 lore raw

T24gVHVlLCAyMDE4LTAyLTEzIGF0IDE5OjM4ICswMTAwLCBQYW9sbyBWYWxlbnRlIHdyb3RlOg0K PiBhcyBhIGZpcnN0IGF0dGVtcHQsIEkndmUgZm9sbG93ZWQgeW91ciBzdGVwcywgYnV0IGdvdDoN Cj4gRXJyb3I6IGNvdWxkIG5vdCBmaW5kIHNnX3Jlc2V0DQoNClBsZWFzZSBpbnN0YWxsIHRoZSBz ZzNfdXRpbHMgcGFja2FnZS4gRXZlcnkgTGludXggZGlzdHJvIEkga25vdyBvZiBzdXBwb3J0cyB0 aGF0DQpwYWNrYWdlLiBBbmQgaW4gY2FzZSB5b3Ugd291bGQgbGlrZSB0byBpbnN0YWxsIGl0IGZy b20gc291cmNlLCB0aGUgc291cmNlIGNvZGUgb2YNCnRoYXQgcGFja2FnZSBpcyBhdmFpbGFibGUg ZnJvbSBodHRwOi8vc2cuZGFubnkuY3ovc2cvc2czX3V0aWxzLmh0bWwuDQoNCj4g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cGFja2FnZXMuIEZyb20gdGhhdCBSRUFE TUUNCmRvY3VtZW50Og0KDQpJbnN0YWxsIHRoZSBmb2xsb3dpbmcgc29mdHdhcmUgcGFja2FnZXMg aWYgdGhlc2UgaGF2ZSBub3QgeWV0IGJlZW4gaW5zdGFsbGVkOg0KZmlvLCBnY2MtYysrLCBtYWtl LCBtdWx0aXBhdGgtdG9vbHMgb3IgZGV2aWNlLW1hcHBlci1tdWx0aXBhdGgsIHNnM191dGlscywN CnNycHRvb2xzLCBlMmZzcHJvZ3MgYW5kIHhmc3Byb2dzLg0KDQpUaGFua3MsDQoNCkJhcnQuDQoN Cg0K

#8 lore raw
Quoted 3 lines

Il giorno 13 feb 2018, alle ore 19:47, Bart Van Assche =

<[email protected]> ha scritto:

Quoted 6 lines

=20

Quoted 2 lines · Paolo Valente

as a first attempt, I've followed your steps, but got:
Error: could not find sg_reset

=20
Please install the sg3_utils package. Every Linux distro I know of =

supports that

Quoted 1 line

package.

I happened to do this test on a Fedora.

Quoted 1 line

And in case you would like to install it from source, the source code =

of

Quoted 6 lines

that package is available from http://sg.danny.cz/sg/sg3_utils.html.
=20

Quoted 4 lines

For ib_srp-backport, I get a lot of warnings like the following one, at "make install" (preceded by corresponding warnings at the end of the compilation):
depmod: WARNING: /lib/modules/4.16.0-rc1+/extra/ib_srp.ko needs =

unknown symbol rdma_resolve_addr

Quoted 4 lines
Quoted 2 lines

=20
Unfortunately, it gets worse while executing "make scst srpt":

=20
Please neither install the ib_srp-backport driver nor SCST. These =

drivers have

Quoted 1 line

not yet been tested against kernel v4.16-rc1. I provided you a kernel =

tree in

Quoted 1 line

which both the SRP initiator and target drivers support RoCE such that =

you don't

Quoted 1 line

need to install these out-of-tree drivers. I think all that you need =

from the

Quoted 1 line

srp-test README document are the instructions to configure =

/etc/multipath.conf

Quoted 1 line

and the instructions for installing the required packages. =46rom that =

README

Quoted 3 lines

document:
=20
Install the following software packages if these have not yet been =

installed:

Quoted 1 line

fio, gcc-c++, make, multipath-tools or device-mapper-multipath, =

sg3_utils,

Quoted 2 lines

srptools, e2fsprogs and xfsprogs.
=20

Thank you very much for these instructions Bart.

After following all of them (and taking some other step needed), I invoked:
sudo ./run_tests -c -d -r 10 -t 02-mq -e bfq

But I got the following:
./lib/functions: riga 34: /sys/class/block/ram0/size: No such file or = directory
./lib/functions: riga 34: * 512: errore di sintassi: atteso un operando = (il token dell'errore =C3=A8 "* 512")
Unloaded the ib_srpt kernel module
Unloaded the rdma_rxe kernel module
modprobe: FATAL: Module ib_uverbs not found in directory = /lib/modules/4.16.0-rc1+
modprobe: FATAL: Module ib_umad not found in directory = /lib/modules/4.16.0-rc1+
SoftRoCE network interfaces: rxe0
modprobe: FATAL: Module target_core_iblock not found in directory = /lib/modules/4.16.0-rc1+

So I think I need a little more help, to have this working in a reasonable amount of time. In particular, could you tell me all what is missing?

Thanks,
Paolo

Quoted 5 lines

Thanks,
=20
Bart.
=20
=20

#9 lore raw
Quoted 14 lines · Paolo Valente

After following all of them (and taking some other step needed), I invoked:
sudo ./run_tests -c -d -r 10 -t 02-mq -e bfq

But I got the following:
./lib/functions: riga 34: /sys/class/block/ram0/size: No such file or directory ./lib/functions: riga 34: * 512: errore di sintassi: atteso un operando (il token dell'errore è "* 512") Unloaded the ib_srpt kernel module
Unloaded the rdma_rxe kernel module
modprobe: FATAL: Module ib_uverbs not found in directory /lib/modules/4.16.0-rc1+
modprobe: FATAL: Module ib_umad not found in directory /lib/modules/4.16.0-rc1+ SoftRoCE network interfaces: rxe0
modprobe: FATAL: Module target_core_iblock not found in directory /lib/modules/4.16.0-rc1+

Quoted 3 lines

So I think I need a little more help, to have this working in a reasonable amount of time. In particular, could you tell me all what is missing?

Hello Paolo,

Can you check whether CONFIG_BLK_DEV_RAM, CONFIG_INFINIBAND, CONFIG_INFINIBAND_USER_MAD, CONFIG_INFINIBAND_USER_ACCESS, CONFIG_INFINIBAND_USER_MEM, CONFIG_INFINIBAND_IPOIB, CONFIG_INFINIBAND_SRP, CONFIG_INFINIBAND_SRPT and CONFIG_RDMA_RXE were enabled in your kernel config?

Thanks,

Bart.

#10 lore raw
Quoted 3 lines

Il giorno 14 feb 2018, alle ore 19:11, Bart Van Assche =

<[email protected]> ha scritto:

Quoted 7 lines

=20

Quoted 5 lines · Paolo Valente

After following all of them (and taking some other step needed), I invoked:
sudo ./run_tests -c -d -r 10 -t 02-mq -e bfq
But I got the following:
./lib/functions: riga 34: /sys/class/block/ram0/size: No such file or =

directory

Quoted 1 line
Quoted 1 line

./lib/functions: riga 34: * 512: errore di sintassi: atteso un =

operando (il token dell'errore =C3=A8 "* 512")

Quoted 3 lines
Quoted 3 lines

Unloaded the ib_srpt kernel module
Unloaded the rdma_rxe kernel module
modprobe: FATAL: Module ib_uverbs not found in directory =

/lib/modules/4.16.0-rc1+

Quoted 1 line
Quoted 1 line

modprobe: FATAL: Module ib_umad not found in directory =

/lib/modules/4.16.0-rc1+

Quoted 2 lines
Quoted 2 lines

SoftRoCE network interfaces: rxe0
modprobe: FATAL: Module target_core_iblock not found in directory =

/lib/modules/4.16.0-rc1+

Quoted 7 lines
Quoted 3 lines

So I think I need a little more help, to have this working in a reasonable amount of time. In particular, could you tell me all what is missing?

=20
Hello Paolo,
=20
Can you check whether CONFIG_BLK_DEV_RAM, CONFIG_INFINIBAND, =

CONFIG_INFINIBAND_USER_MAD, CONFIG_INFINIBAND_USER_ACCESS, = CONFIG_INFINIBAND_USER_MEM, CONFIG_INFINIBAND_IPOIB, = CONFIG_INFINIBAND_SRP, CONFIG_INFINIBAND_SRPT and CONFIG_RDMA_RXE were = enabled in your kernel config?

Quoted 1 line

=20

(+Linus, Ulf)

Hi Bart,
after enabling the listing options in your list, and a few other related options, such iblock support, I get this:

$ sudo ./run_tests -c -d -r 10 -t 02-mq -e bfq
Unloaded the ib_srpt kernel module
Unloaded the rdma_rxe kernel module
SoftRoCE network interfaces: rxe0
Zero-initializing /dev/ram0 ... done
Zero-initializing /dev/ram1 ... done
mkdir: impossibile creare la directory "021c:42ff:fe4c:fac9": Invalid =
argument
Retrying with old port name format
mkdir: impossibile creare la directory =
"0xfe80000000000000021c42fffe4cfac9": Invalid argument

Thanks for your patience and collaboration,
Paolo

Quoted 3 lines

Thanks,
=20
Bart.

#11 lore raw

T24gRnJpLCAyMDE4LTAyLTE2IGF0IDA4OjM5ICswMTAwLCBQYW9sbyBWYWxlbnRlIHdyb3RlOg0K PiBhZnRlciBlbmFibGluZyB0aGUgbGlzdGluZyBvcHRpb25zIGluIHlvdXIgbGlzdCwgYW5kIGEg ZmV3IG90aGVyDQo+IHJlbGF0ZWQgb3B0aW9ucywgc3VjaCBpYmxvY2sgc3VwcG9ydCwgSSBnZXQg dGhpczoNCj4gDQo+ICQgc3VkbyAuL3J1bl90ZXN0cyAtYyAtZCAtciAxMCAtdCAwMi1tcSAtZSBi ZnENCj4gVW5sb2FkZWQgdGhlIGliX3NycHQga2VybmVsIG1vZHVsZQ0KPiBVbmxvYWRlZCB0aGUg cmRtYV9yeGUga2VybmVsIG1vZHVsZQ0KPiBTb2Z0Um9DRSBuZXR3b3JrIGludGVyZmFjZXM6IHJ4 ZTANCj4gWmVyby1pbml0aWFsaXppbmcgL2Rldi9yYW0wIC4uLiBkb25lDQo+IFplcm8taW5pdGlh bGl6aW5nIC9kZXYvcmFtMSAuLi4gZG9uZQ0KPiBta2RpcjogaW1wb3NzaWJpbGUgY3JlYXJlIGxh IGRpcmVjdG9yeSAiMDIxYzo0MmZmOmZlNGM6ZmFjOSI6IEludmFsaWQgYXJndW1lbnQNCj4gUmV0 cnlpbmcgd2l0aCBvbGQgcG9ydCBuYW1lIGZvcm1hdA0KPiBta2RpcjogaW1wb3NzaWJpbGUgY3Jl YXJlIGxhIGRpcmVjdG9yeSAiMHhmZTgwMDAwMDAwMDAwMDAwMDIxYzQyZmZmZTRjZmFjOSI6IElu dmFsaWQgYXJndW1lbnQNCg0KSGVsbG8gUGFvbG8sDQoNClRoYXQgcHJvYmFibHkgbWVhbnMgdGhh dCB0aGVy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JlcHJvZHVjZSBCYXJ0cyBvcmlnaW5hbCBpc3N1ZSB1 c2luZyBoaXMgdHJlZSBhbmQNCj4gYWN0dWFsIG1seDUvY3g0IGhhcmR3YXJlIGFuZCBpYnNycA0K PiBJIGVuYWJsZWQgQkZRIHdpdGggbm8gb3RoZXIgc3BlY2lhbCB0dW5pbmcgZm9yIHRoZSBtb2F0 aCBhbmQgc3VicGF0aHMuDQo+IEkgd2FzIHdhaXRpbmcgZm9yIGhpbSB0byBjb21lIGJhY2sgZnJv bSB2YWNhdGlvbiB0byBjaGVjayB3aXRoIGhpbS4NCg0KKGJhY2sgaW4gdGhlIG9mZmljZSkNCg0K SGVsbG8gTGF1cmVuY2UsDQoNCldoYXQgSSB1bmRlcnN0b29kIGZyb20gb2ZmLWxpc3QgY29tbXVu aWNhdGlvbiBpcyB0aGF0IHlvdSB0cmllZCB0byBmaW5kDQphIHdheSB0byByZXByb2R1Y2Ugd2hh dCBJIHJlcG9ydGVkIHdpdGhvdXQgdXNpbmcgdGhlIHNycC10ZXN0IHNvZnR3YXJlLg0KTXkgdW5k ZXJzdGFuZGluZyBpcyB0aGF0IGJvdGggUGFvbG8gYW5kIEkgY2FuIHJlcHJvZHVjZSB0aGUgcmVw b3J0ZWQgaXNzdWUNCndpdGggdGhlIHNycC10ZXN0IHNvZnR3YXJlLg0KDQpCYXJ0Lg0KDQoNCg0K

#20 lore raw
Quoted 3 lines

Il giorno 10 mag 2018, alle ore 17:16, Bart Van Assche =

<[email protected]> ha scritto:

Quoted 5 lines

=20

Quoted 3 lines · Laurence Oberman

I was never able to reproduce Barts original issue using his tree and actual mlx5/cx4 hardware and ibsrp
I enabled BFQ with no other special tuning for the moath and =

subpaths.

Quoted 7 lines
Quoted 1 line

I was waiting for him to come back from vacation to check with him.

=20
(back in the office)
=20
Hello Laurence,
=20
What I understood from off-list communication is that you tried to =

find

Quoted 1 line

a way to reproduce what I reported without using the srp-test =

software.

Quoted 1 line

My understanding is that both Paolo and I can reproduce the reported =

issue

Quoted 2 lines

with the srp-test software.
=20

Thanks for chiming in, Bart.

Above all, with my fix [1] it should be gone.

Looking forward to your feedback,
Paolo

[1] =
https://www.mail-archive.com/[email protected]/msg1682264.html

Quoted 4 lines

Bart.
=20
=20
=20

#21 lore raw
In reply to Bart Van Assche
Quoted 20 lines · Bart Van Assche
Quoted 6 lines · Laurence Oberman

I was never able to reproduce Barts original issue using his tree and
actual mlx5/cx4 hardware and ibsrp
I enabled BFQ with no other special tuning for the moath and subpaths.
I was waiting for him to come back from vacation to check with him.

(back in the office)

Hello Laurence,

What I understood from off-list communication is that you tried to find
a way to reproduce what I reported without using the srp-test software.
My understanding is that both Paolo and I can reproduce the reported issue
with the srp-test software.

Quoted 4 lines

Bart.

Hello Bart

using your kernel
4.17.0-rc2.bart+

CONFIG_IOSCHED_BFQ=y
CONFIG_BFQ_GROUP_IOSCHED=y

These are all SRP LUNS

36001405b2b5c6c24c084b6fa4d55da2f dm-27 LIO-ORG ,block-10 size=3.9G features='2 queue_mode mq' hwhandler='0' wp=rw -+- policy='service-time 0' prio=1 status=active |- 2:0:0:9  sdap 66:144 active ready running - 1:0:0:9  sdaz 67:48  active ready running

36001405b26ebe76dcb94a489f6f245f8 dm-18 LIO-ORG ,block-21 size=3.9G features='2 queue_mode mq' hwhandler='0' wp=rw -+- policy='service-time 0' prio=1 status=active |- 2:0:0:20 sdx  65:112 active ready running - 1:0:0:20 sdaa 65:160 active ready running

[root@ibclient ~]# cd /sys/block
[root@ibclient block]# cat /sys/block/dm-18/queue/scheduler mq-deadline kyber [bfq] none
[root@ibclient block]# cat /sys/block/sdaa/queue/scheduler mq-deadline kyber [bfq] none
[root@ibclient block]# cat /sys/block/sdx/queue/scheduler mq-deadline kyber [bfq] none

Not using the test software just exercising the LUNS via my own tests I am unable to get the OOPS

I guess something in the srp-test software triggers it then.

Doing plenty of IO to 5 mpath devices (1.3Gbytes/sec)

#Time     cpu sys inter  ctxsw Free Buff Cach Inac Slab  Map KBRead  Reads KBWrit Writes   KBIn  PktIn  KBOut  PktOut 12:08:32    0   0  1437   1107  88G   5M   1G 902M 300M 178M  1380K    345      0      0      6     74      0       4

Thanks
Laurence

#22 lore raw
In reply to a message not in the archive

T24gRnJpLCAyMDE4LTA1LTA0IGF0IDIyOjExICswMjAwLCBQYW9sbyBWYWxlbnRlIHdyb3RlOg0K PiA+IElsIGdpb3JubyAzMCBtYXIgMjAxOCwgYWxsZSBvcmUgMTg6NTcsIEJhcnQgVmFuIEFzc2No ZSA8YmFydC52YW5hc3NjaGVAd2RjLmNvbT4gaGEgc2NyaXR0bzoNCj4gPiANCj4gPiBPbiBGcmks IDIwMTgtMDMtMzAgYXQgMTA6MjMgKzAyMDAsIFBhb2xvIFZhbGVudGUgd3JvdGU6DQo+ID4gPiBT dGlsbCA0LjE2LXJjMSwgYmVpbmcgdGhhdCB0aGUgdmVyc2lvbiBmb3Igd2hpY2ggeW91IHJlcG9y dGVkIHRoaXMNCj4gPiA+IGlzc3VlIGluIHRoZSBmaXJzdCBwbGFjZS4NCj4gPiANCj4gPiBBIHZh bmlsbGEgdjQuMTYtcmMxIGtlcm5lbCBpcyBub3Qgc3VmZmljaWVudCB0byBydW4gdGhlIHNycC10 ZXN0IHNvZnR3YXJlDQo+ID4gc2luY2UgUkRNQS9DTSBzdXBwb3J0IGZvciB0aGUgU1JQIHRhcmdl dCBkcml2ZXIgaXMgbWlzc2luZyBmcm9tIHRoYXQga2VybmVsLg0KPiA+IFRoYXQncyB3aHkgSSBh c2tlZCB5b3UgdG8gdXNlIHRoZSBmb3ItbmV4dCBicmFuY2ggZnJvbSBteSBnaXRodWIgcmVwb3Np dG9yeQ0KPiA+IGluIGEgcHJldmlvdXMgZS1tYWlsLiBBbnl3YXksIHNpbmNlIHRoZSBuZWNlc3Nh cnkgcGF0Y2hlcyBhcmUgbm93IGluDQo+ID4gbGludXgtbmV4dCwgdGhlIHNycC10ZXN0IHNvZnR3 YXJlIGNhbiBhbHNvIGJlIHJ1biBhZ2Fpbn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ID4gYmxrX3B1dF9yZXF1ZXN0KzB4MjMvMHg2MA0KPiA+IG11bHRpcGF0aF9yZWxl YXNlX2Nsb25lKzB4ZS8weDEwDQo+ID4gZG1fc29mdGlycV9kb25lKzB4ZTMvMHgyNzANCj4gPiBf X2Jsa19tcV9jb21wbGV0ZV9yZXF1ZXN0X3JlbW90ZSsweDE4LzB4MjANCj4gPiBmbHVzaF9zbXBf Y2FsbF9mdW5jdGlvbl9xdWV1ZSsweGExLzB4MTUwDQo+ID4gZ2VuZXJpY19zbXBfY2FsbF9mdW5j dGlvbl9zaW5nbGVfaW50ZXJydXB0KzB4MTMvMHgzMA0KPiA+IHNtcF9jYWxsX2Z1bmN0aW9uX3Np bmdsZV9pbnRlcnJ1cHQrMHg0ZC8weDIyMA0KPiA+IGNhbGxfZnVuY3Rpb25fc2luZ2xlX2ludGVy cnVwdCsweGYvMHgyMA0KPiA+IDwvSVJRPg0KPiANCj4gSSBzdXNwZWN0IG15IHJlY2VudCBmaXgg WzFdIG1pZ2h0IGZpeCB5b3VyIGZhaWx1cmUgdG9vLg0KPiANCj4gWzFdIGh0dHBzOi8vd3d3Lm1h aWwtYXJjaGl2ZS5jb20vbGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZy9tc2cxNjgyMjY0Lmh0 bWwNCg0KSGVsbG8gUGFvbG8sDQoNCldpdGggcGF0Y2ggWzFdIGFwcGxpZWQgSSBjYW4ndCByZXBy b2R1Y2UgdGhlIGFmb3JlbWVudGlvbmVkIGNyYXNoLiBJIHdpbGwgYWRkDQpteSBUZXN0ZWQtYnku DQoNClRoYW5rcywNCg0KQmFydC4NCg0KDQo=

#23 lore raw
Quoted 3 lines

Il giorno 10 mag 2018, alle ore 18:12, Bart Van Assche =

<[email protected]> ha scritto:

Quoted 3 lines

=20

Quoted 1 line · Paolo Valente
Quoted 1 line

Il giorno 30 mar 2018, alle ore 18:57, Bart Van Assche =

<[email protected]> ha scritto:

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

=20

Quoted 2 lines · Paolo Valente

Still 4.16-rc1, being that the version for which you reported this issue in the first place.

=20
A vanilla v4.16-rc1 kernel is not sufficient to run the srp-test =

software

Quoted 1 line
Quoted 1 line
Quoted 1 line

since RDMA/CM support for the SRP target driver is missing from that =

kernel.

Quoted 1 line
Quoted 1 line
Quoted 1 line

That's why I asked you to use the for-next branch from my github =

repository

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

in a previous e-mail. Anyway, since the necessary patches are now in linux-next, the srp-test software can also be run against =

linux-next. Here

Quoted 1 line
Quoted 1 line
Quoted 1 line

are the results that I obtained with label next-20180329 and the =

kernel

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

config attached to your previous e-mail:
=20

# while ./srp-test/run_tests -c -d -r 10 -e bfq; do :; done
=20
BUG: unable to handle kernel NULL pointer dereference at =

0000000000000200

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

PGD 0 P4D 0=20

Oops: 0002 [#1] SMP PTI
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS =

1.0.0-prebuilt.qemu-project.org 04/01/2014

Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
RIP: 0010:rb_erase+0x284/0x380
Call Trace:
<IRQ>
elv_rb_del+0x24/0x30
bfq_remove_request+0x9a/0x2e0 [bfq]
? rcu_read_lock_sched_held+0x64/0x70
? update_load_avg+0x72b/0x760
bfq_finish_requeue_request+0x2e1/0x3b0 [bfq]
? __lock_is_held+0x5a/0xa0
blk_mq_free_request+0x5f/0x1a0
blk_put_request+0x23/0x60
multipath_release_clone+0xe/0x10
dm_softirq_done+0xe3/0x270
__blk_mq_complete_request_remote+0x18/0x20
flush_smp_call_function_queue+0xa1/0x150
generic_smp_call_function_single_interrupt+0x13/0x30
smp_call_function_single_interrupt+0x4d/0x220
call_function_single_interrupt+0xf/0x20
</IRQ>
Quoted 4 lines
Quoted 4 lines

=20
I suspect my recent fix [1] might fix your failure too. =20
[1] =

https://www.mail-archive.com/[email protected]/msg1682264.html

Quoted 4 lines

=20
Hello Paolo,
=20
With patch [1] applied I can't reproduce the aforementioned crash. I =

will add

Quoted 2 lines

my Tested-by.
=20

Great, thanks!

Paolo

Quoted 5 lines

Thanks,
=20
Bart.
=20
=20