* v4.16-rc1 + dm-mpath + BFQ @ 2018-02-09 18:54 Bart Van Assche 2018-02-09 18:58 ` Jens Axboe 0 siblings, 1 reply; 18+ messages in thread From: Bart Van Assche @ 2018-02-09 18:54 UTC (permalink / raw) To: paolo.valente@linaro.org; +Cc: linux-block@vger.kernel.org SGVsbG8gUGFvbG8sDQoNCklmIEkgZW5hYmxlIHRoZSBCRlEgc2NoZWR1bGVyIGZvciBhIGRtLW1w YXRoIGRldmljZSB0aGVuIGEga2VybmVsIG9vcHMNCmFwcGVhcnMgKHNlZSBhbHNvIGJlbG93KS4g VGhpcyBoYXBwZW5zIHN5c3RlbWF0aWNhbGx5IHdpdGggTGludXMnIHRyZWUgZnJvbQ0KdGhpcyBt b3JuaW5nIChjb21taXQgNTRjZTY4NWNhZTMwKSBtZXJnZWQgd2l0aCBKZW5zJyBmb3ItbGludXMg YnJhbmNoIChjb21taXQNCmE3ODc3MzkwNjE0NyAoImJsb2NrLCBiZnE6IGFkZCByZXF1ZXVlLXJl cXVlc3QgaG9vayIpKSBhbmQgZm9yLW5leHQgYnJhbmNoDQooY29tbWl0IDg4NDU1YWQ3ZjkyOCku IElzIHRoaXMgYSBrbm93biBpc3N1ZT8NCg0KVGhhbmtzLA0KDQpCYXJ0Lg0KDQpCVUc6IHVuYWJs ZSB0byBoYW5kbGUga2VybmVsIE5VTEwgcG9pbnRlciBkZXJlZmVyZW5jZSBhdCAwMDAwMDAwMDAw MDAwMjAwDQpJUDogcmJfZXJhc2UrMHgyODQvMHgzODANClBHRCAwIFA0RCAwIA0KT29wczogMDAw MiBbIzFdIFBSRUVNUFQgU01QDQpDUFU6IDEgUElEOiAwIENvbW06IHN3YXBwZXIvMSBUYWludGVk OiBHICAgICAgICBXICAgICAgICA0LjE1LjAtZGJnKyAjMQ0KSGFyZHdhcmUgbmFtZTogUUVNVSBT dGFuZGFyZCBQQyAoaTQ0MEZYICsgUElJWCwgMTk5NiksIEJJT1MgMS4wLjAtcHJlYnVpbHQucWVt dS1wcm9qZWN0Lm9yZyAwNC8wMS8yMDE0DQpSSVA6IDAwMTA6cmJfZXJhc2UrMHgyODQvMHgzODAN CkNhbGwgVHJhY2U6DQogPElSUT4NCiBlbHZfcmJfZGVsKzB4MjAvMHgzMA0KIGJmcV9yZW1vdmVf cmVxdWVzdCsweDhkLzB4MmUwIFtiZnFdDQogYmZxX2ZpbmlzaF9yZXF1ZXVlX3JlcXVlc3QrMHgy YmIvMHgzOTAgW2JmcV0NCiBibGtfbXFfZnJlZV9yZXF1ZXN0KzB4NTEvMHgxNzANCiBkbV9zb2Z0 aXJxX2RvbmUrMHhkNS8weDI0MCBbZG1fbW9kXQ0KIGZsdXNoX3NtcF9jYWxsX2Z1bmN0aW9uX3F1 ZXVlKzB4OTIvMHgxNDANCiBzbXBfY2FsbF9mdW5jdGlvbl9zaW5nbGVfaW50ZXJydXB0KzB4NDcv MHgyYjANCiBjYWxsX2Z1bmN0aW9uX3NpbmdsZV9pbnRlcnJ1cHQrMHhhMi8weGIwDQogPC9JUlE+ ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-09 18:54 v4.16-rc1 + dm-mpath + BFQ Bart Van Assche @ 2018-02-09 18:58 ` Jens Axboe 2018-02-09 19:14 ` Bart Van Assche 0 siblings, 1 reply; 18+ messages in thread From: Jens Axboe @ 2018-02-09 18:58 UTC (permalink / raw) To: Bart Van Assche, paolo.valente@linaro.org; +Cc: linux-block@vger.kernel.org On 2/9/18 11:54 AM, Bart Van Assche wrote: > 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. -- Jens Axboe ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-09 18:58 ` Jens Axboe @ 2018-02-09 19:14 ` Bart Van Assche 2018-02-09 19:18 ` Jens Axboe 0 siblings, 1 reply; 18+ messages in thread From: Bart Van Assche @ 2018-02-09 19:14 UTC (permalink / raw) To: Jens Axboe, paolo.valente@linaro.org; +Cc: linux-block@vger.kernel.org On 02/09/18 10:58, Jens Axboe wrote: > On 2/9/18 11:54 AM, Bart Van Assche wrote: >> 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. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-09 19:14 ` Bart Van Assche @ 2018-02-09 19:18 ` Jens Axboe 2018-02-12 7:35 ` Paolo Valente 0 siblings, 1 reply; 18+ messages in thread From: Jens Axboe @ 2018-02-09 19:18 UTC (permalink / raw) To: Bart Van Assche, paolo.valente@linaro.org; +Cc: linux-block@vger.kernel.org On 2/9/18 12:14 PM, Bart Van Assche wrote: > On 02/09/18 10:58, Jens Axboe wrote: >> On 2/9/18 11:54 AM, Bart Van Assche wrote: >>> 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)) { 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. -- Jens Axboe ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-09 19:18 ` Jens Axboe @ 2018-02-12 7:35 ` Paolo Valente 2018-02-12 16:31 ` Bart Van Assche 0 siblings, 1 reply; 18+ messages in thread From: Paolo Valente @ 2018-02-12 7:35 UTC (permalink / raw) To: Jens Axboe; +Cc: Bart Van Assche, linux-block@vger.kernel.org > Il giorno 09 feb 2018, alle ore 20:18, Jens Axboe <axboe@kernel.dk> ha = scritto: >=20 > On 2/9/18 12:14 PM, Bart Van Assche wrote: >> On 02/09/18 10:58, Jens Axboe wrote: >>> On 2/9/18 11:54 AM, Bart Van Assche wrote: >>>> Hello Paolo, >>>>=20 >>>> 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? >>>=20 >>> 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. >>=20 >> Hello Jens, >>=20 >> Thanks for chiming in. After having reverted commit a78773906147, = after=20 >> having rebuilt the BFQ scheduler, after having rebooted and after = having=20 >> 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 >> case it would be useful, here is how gdb translates the crash = address: >>=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)) { >=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 > --=20 > Jens Axboe ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-12 7:35 ` Paolo Valente @ 2018-02-12 16:31 ` Bart Van Assche 2018-02-13 18:38 ` Paolo Valente 0 siblings, 1 reply; 18+ messages in thread From: Bart Van Assche @ 2018-02-12 16:31 UTC (permalink / raw) To: Paolo Valente, Jens Axboe; +Cc: linux-block@vger.kernel.org On 02/11/18 23:35, Paolo Valente wrote: > 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. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-12 16:31 ` Bart Van Assche @ 2018-02-13 18:38 ` Paolo Valente 2018-02-13 18:47 ` Bart Van Assche 0 siblings, 1 reply; 18+ messages in thread From: Paolo Valente @ 2018-02-13 18:38 UTC (permalink / raw) To: Bart Van Assche; +Cc: Jens Axboe, linux-block@vger.kernel.org > Il giorno 12 feb 2018, alle ore 17:31, Bart Van Assche = <bart.vanassche@wdc.com> ha scritto: >=20 > On 02/11/18 23:35, Paolo Valente wrote: >> 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. >=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: > * 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 > Thanks, >=20 > Bart. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-13 18:38 ` Paolo Valente @ 2018-02-13 18:47 ` Bart Van Assche 2018-02-14 17:55 ` Paolo Valente 0 siblings, 1 reply; 18+ messages in thread From: Bart Van Assche @ 2018-02-13 18:47 UTC (permalink / raw) To: paolo.valente@linaro.org; +Cc: linux-block@vger.kernel.org, axboe@kernel.dk T24gVHVlLCAyMDE4LTAyLTEzIGF0IDE5OjM4ICswMTAwLCBQYW9sbyBWYWxlbnRlIHdyb3RlOg0K PiBhcyBhIGZpcnN0IGF0dGVtcHQsIEkndmUgZm9sbG93ZWQgeW91ciBzdGVwcywgYnV0IGdvdDoN Cj4gRXJyb3I6IGNvdWxkIG5vdCBmaW5kIHNnX3Jlc2V0DQoNClBsZ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zdWNoIHRoYXQgeW91IGRvbid0DQpuZWVk IHRvIGluc3RhbGwgdGhlc2Ugb3V0LW9mLXRyZWUgZHJpdmVycy4gSSB0aGluayBhbGwgdGhhdCB5 b3UgbmVlZCBmcm9tIHRoZQ0Kc3JwLXRlc3QgUkVBRE1FIGRvY3VtZW50IGFyZSB0aGUgaW5zdHJ1 Y3Rpb25zIHRvIGNvbmZpZ3VyZSAvZXRjL211bHRpcGF0aC5jb25mDQphbmQgdGhlIGluc3RydWN0 aW9ucyBmb3IgaW5zdGFsbGluZyB0aGUgcmVxdWlyZWQgcGFja2FnZXMuIEZyb20gdGhhdCBSRUFE TUUNCmRvY3VtZW50Og0KDQpJbnN0YWxsIHRoZSBmb2xsb3dpbmcgc29mdHdhcmUgcGFja2FnZXMg aWYgdGhlc2UgaGF2ZSBub3QgeWV0IGJlZW4gaW5zdGFsbGVkOg0KZmlvLCBnY2MtYysrLCBtYWtl LCBtdWx0aXBhdGgtdG9vbHMgb3IgZGV2aWNlLW1hcHBlci1tdWx0aXBhdGgsIHNnM191dGlscywN CnNycHRvb2xzLCBlMmZzcHJvZ3MgYW5kIHhmc3Byb2dzLg0KDQpUaGFua3MsDQoNCkJhcnQuDQoN Cg0K ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-13 18:47 ` Bart Van Assche @ 2018-02-14 17:55 ` Paolo Valente 2018-02-14 18:11 ` Bart Van Assche 0 siblings, 1 reply; 18+ messages in thread From: Paolo Valente @ 2018-02-14 17:55 UTC (permalink / raw) To: Bart Van Assche; +Cc: linux-block@vger.kernel.org, axboe@kernel.dk > Il giorno 13 feb 2018, alle ore 19:47, Bart Van Assche = <bart.vanassche@wdc.com> ha scritto: >=20 > On Tue, 2018-02-13 at 19:38 +0100, Paolo Valente wrote: >> 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 > package. I happened to do this test on a Fedora. > And in case you would like to install it from source, the source code = of > that package is available from http://sg.danny.cz/sg/sg3_utils.html. >=20 >> 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 >>=20 >> Unfortunately, it gets worse while executing "make scst srpt": >=20 > Please neither install the ib_srp-backport driver nor SCST. These = drivers have > not yet been tested against kernel v4.16-rc1. I provided you a kernel = tree in > which both the SRP initiator and target drivers support RoCE such that = you don't > need to install these out-of-tree drivers. I think all that you need = from the > srp-test README document are the instructions to configure = /etc/multipath.conf > and the instructions for installing the required packages. =46rom that = README > document: >=20 > Install the following software packages if these have not yet been = installed: > fio, gcc-c++, make, multipath-tools or device-mapper-multipath, = sg3_utils, > 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 > Thanks, >=20 > Bart. >=20 >=20 ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-14 17:55 ` Paolo Valente @ 2018-02-14 18:11 ` Bart Van Assche 2018-02-16 7:39 ` Paolo Valente 0 siblings, 1 reply; 18+ messages in thread From: Bart Van Assche @ 2018-02-14 18:11 UTC (permalink / raw) To: Paolo Valente; +Cc: linux-block@vger.kernel.org, axboe@kernel.dk On 02/14/18 09:55, Paolo Valente wrote: > 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+ > > 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. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-14 18:11 ` Bart Van Assche @ 2018-02-16 7:39 ` Paolo Valente 2018-02-21 18:09 ` Bart Van Assche 2018-03-01 1:35 ` Bart Van Assche 0 siblings, 2 replies; 18+ messages in thread From: Paolo Valente @ 2018-02-16 7:39 UTC (permalink / raw) To: Bart Van Assche Cc: linux-block@vger.kernel.org, axboe@kernel.dk, Linus Walleij, Ulf Hansson > Il giorno 14 feb 2018, alle ore 19:11, Bart Van Assche = <bart.vanassche@wdc.com> ha scritto: >=20 > On 02/14/18 09:55, Paolo Valente wrote: >> 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? >=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? >=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 > Thanks, >=20 > Bart. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-16 7:39 ` Paolo Valente @ 2018-02-21 18:09 ` Bart Van Assche 2018-03-01 1:35 ` Bart Van Assche 1 sibling, 0 replies; 18+ messages in thread From: Bart Van Assche @ 2018-02-21 18:09 UTC (permalink / raw) To: paolo.valente@linaro.org Cc: ul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BhcmUgdXNpbmcuIFBsZWFzZSBzZW5kIHRoYXQga2VybmVsLWNvbmZpZyB0byBt ZSAob2ZmLWxpc3QpDQpzdWNoIHRoYXQgSSBjYW4gaGF2ZSBhIGxvb2sgYXQgaXQuDQoNClRoYW5r cywNCg0KQmFydC4NCg0KDQoNCg== ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-02-16 7:39 ` Paolo Valente 2018-02-21 18:09 ` Bart Van Assche @ 2018-03-01 1:35 ` Bart Van Assche [not found] ` <10BDC305-A874-477C-9545-5617036C2E91@linaro.org> 1 sibling, 1 reply; 18+ messages in thread From: Bart Van Assche @ 2018-03-01 1:35 UTC (permalink / raw) To: paolo.valente@linaro.org Cc: ulf.hansson@linaro.org, linux-block@vger.kernel.org, linus.walleij@linaro.org, axboe@kernel.dk T24gRnJpLCAyMDE4LTAyLTE2IGF0IDA4OjM5ICswMTAwLCBQYW9sbyBWYWxlbnRlIHdyb3RlOg0K PiBhZnRlciBlbmFibGluZyB0aGUgbGlzdGluZyBvcHRpb25zIGluIHlvdXIgbGlzdCwgYW5kIGEg ZmV3IG90aGVyDQo+IHJlbGF0ZWQgb3B0aW9ucywgc3VjaCBpYmxvY2sgc3VwcG9ydCwgSSBnZXQg dGhpczoNCj4gDQo+ICQgc3VkbyAuL3J1bl90ZXN0cyAtYyAtZCAtciAxMCAtdCAwMi1tcSAtZSBi ZnENCj4gVW5sb2FkZWQgdGhlIGliX3NycHQga2VybmVsIG1vZHVsZQ0KPiBVbmxvYWRlZCB0aGUg cmRtYV9yeGUga2VybmVsIG1vZHVsZQ0KPiBTb2Z0Um9DRSBuZXR3b3JrIGludGVyZmFjZXM6IHJ4 ZTANCj4gWmVyby1pbml0aWFsaXppbmcgL2Rldi9yYW0wIC4uLiBkb25lDQo+IFplcm8taW5pdGlh bGl6aW5nIC9kZXYvcmFtMSAuLi4gZG9uZQ0KPiBta2RpcjogaW1wb3NzaWJpbGUgY3JlYX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LW1haWwgdGhyZWFkLg0K DQpUaGFua3MsDQoNCkJhcnQuDQoNCg0K ^ permalink raw reply [flat|nested] 18+ messages in thread
[parent not found: <10BDC305-A874-477C-9545-5617036C2E91@linaro.org>]
[parent not found: <2dcb12b92e50a31c55dd3ab0e464cc819432c3d3.camel@wdc.com>]
[parent not found: <7E372E2C-83A8-4EF4-B52E-E3AC6ED01C74@linaro.org>]
[parent not found: <a6e512dff10d0cff12a688bbf1b30e275a91633e.camel@wdc.com>]
[parent not found: <6A355080-C9A8-475D-9A35-32850D771ABB@linaro.org>]
[parent not found: <1525466533.9055.1.camel@redhat.com>]
* Re: v4.16-rc1 + dm-mpath + BFQ [not found] ` <1525466533.9055.1.camel@redhat.com> @ 2018-05-10 15:16 ` Bart Van Assche 2018-05-10 15:22 ` Paolo Valente 2018-05-10 16:11 ` Laurence Oberman 0 siblings, 2 replies; 18+ messages in thread From: Bart Van Assche @ 2018-05-10 15:16 UTC (permalink / raw) To: paolo.valente@linaro.org, loberman@redhat.com Cc: ulf.hansson@linaro.org, axboe@kernel.dk, linux-block@vger.kernel.org, snitzer@redhat.com, broonie@linaro.org, axboe@fb.com, linus.walleij@linaro.org T24gRnJpLCAyMDE4LTA1LTA0IGF0IDE2OjQyIC0wNDAwLCBMYXVyZW5jZSBPYmVybWFuIHdyb3Rl Og0KPiBJIHdhcyBuZXZlciBhYmxlIHRvIHJlcHJvZHVjZSBCYXJ0cyBvcmlnaW5hbCBpc3N1ZSB1 c2luZyBoaXMgdHJlZSBhbmQNCj4gYWN0dWFsIG1seDUvY3g0IGhhcmR3YXJlIGFuZCBpYnNycA0K PiBJIGVuYWJsZWQgQkZRIHdpdGggbm8gb3RoZXIgc3BlY2lhbCB0dW5pbmcgZm9yIHRoZSBtb2F0 aCBhbmQgc3VicGF0aHMuDQo+IEkgd2FzIHdhaXRpbmcgZm9yIGhpbSB0byBjb21lIGJhY2sgZnJv bSB2YWNhdGlvbiB0byBjaGVjayB3aXRoIGhpbS4NCg0KKGJhY2sgaW4gdGhlIG9mZmljZSkNCg0K SGVsbG8gTGF1cmVuY2UsDQoNCldoYXQgSSB1bmRlcnN0b29kIGZyb20gb2ZmLWxpc3QgY29tbXVu aWNhdGlvbiBpcyB0aGF0IHlvdSB0cmllZCB0byBmaW5kDQphIHdheSB0byByZXByb2R1Y2Ugd2hh dCBJIHJlcG9ydGVkIHdpdGhvdXQgdXNpbmcgdGhlIHNycC10ZXN0IHNvZnR3YXJlLg0KTXkgdW5k ZXJzdGFuZGluZyBpcyB0aGF0IGJvdGggUGFvbG8gYW5kIEkgY2FuIHJlcHJvZHVjZSB0aGUgcmVw b3J0ZWQgaXNzdWUNCndpdGggdGhlIHNycC10ZXN0IHNvZnR3YXJlLg0KDQpCYXJ0Lg0KDQoNCg0K ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-05-10 15:16 ` Bart Van Assche @ 2018-05-10 15:22 ` Paolo Valente 2018-05-10 16:11 ` Laurence Oberman 1 sibling, 0 replies; 18+ messages in thread From: Paolo Valente @ 2018-05-10 15:22 UTC (permalink / raw) To: Bart Van Assche Cc: loberman@redhat.com, ulf.hansson@linaro.org, axboe@kernel.dk, linux-block@vger.kernel.org, snitzer@redhat.com, broonie@linaro.org, axboe@fb.com, linus.walleij@linaro.org > Il giorno 10 mag 2018, alle ore 17:16, Bart Van Assche = <Bart.VanAssche@wdc.com> ha scritto: >=20 > On Fri, 2018-05-04 at 16:42 -0400, Laurence Oberman wrote: >> 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. >=20 > (back in the office) >=20 > Hello Laurence, >=20 > 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. >=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/linux-kernel@vger.kernel.org/msg1682264.html > Bart. >=20 >=20 >=20 ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-05-10 15:16 ` Bart Van Assche 2018-05-10 15:22 ` Paolo Valente @ 2018-05-10 16:11 ` Laurence Oberman 1 sibling, 0 replies; 18+ messages in thread From: Laurence Oberman @ 2018-05-10 16:11 UTC (permalink / raw) To: Bart Van Assche, paolo.valente@linaro.org Cc: ulf.hansson@linaro.org, axboe@kernel.dk, linux-block@vger.kernel.org, snitzer@redhat.com, broonie@linaro.org, axboe@fb.com, linus.walleij@linaro.org On Thu, 2018-05-10 at 15:16 +0000, Bart Van Assche wrote: > On Fri, 2018-05-04 at 16:42 -0400, Laurence Oberman wrote: > > 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. > > 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 ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ [not found] ` <6A355080-C9A8-475D-9A35-32850D771ABB@linaro.org> [not found] ` <1525466533.9055.1.camel@redhat.com> @ 2018-05-10 16:12 ` Bart Van Assche 2018-05-10 16:13 ` Paolo Valente 1 sibling, 1 reply; 18+ messages in thread From: Bart Van Assche @ 2018-05-10 16:12 UTC (permalink / raw) To: paolo.valente@linaro.org Cc: ulf.hansson@linaro.org, axboe@kernel.dk, linux-block@vger.kernel.org, snitzer@redhat.com, broonie@linaro.org, axboe@fb.com, linus.walleij@linaro.org T24gRnJpLCAyMDE4LTA1LTA0IGF0IDIyOjExICswMjAwLCBQYW9sbyBWYWxlbnRlIHdyb3RlOg0K PiA+IElsIGdpb3JubyAzMCBtYXIgMjAxOCwgYWxsZSBvcmUgMTg6NTcsIEJhcnQgVmFuIEFzc2No ZSA8YmFydC52YW5hc3NjaGVAd2RjLmNvbT4gaGEgc2NyaXR0bzoNCj4gPiANCj4gPiBPbiBGcmks IDIwMTgtMDMtMzAgYXQgMTA6MjMgKzAyMDAsIFBhb2xvIFZhbGVudGUgd3JvdGU6DQo+ID4gPiBT dGlsbCA0LjE2LXJjMSwgYmVpbmcgdGhhdCB0aGUgdmVyc2lvbiBmb3Igd2hpY2ggeW91IHJlcG9y dGVkIHRoaXMNCj4gPiA+IGlzc3VlIGluIHRoZSBmaX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G1pZ2h0IGZpeCB5b3VyIGZhaWx1cmUgdG9vLg0KPiANCj4gWzFdIGh0dHBzOi8vd3d3Lm1h aWwtYXJjaGl2ZS5jb20vbGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZy9tc2cxNjgyMjY0Lmh0 bWwNCg0KSGVsbG8gUGFvbG8sDQoNCldpdGggcGF0Y2ggWzFdIGFwcGxpZWQgSSBjYW4ndCByZXBy b2R1Y2UgdGhlIGFmb3JlbWVudGlvbmVkIGNyYXNoLiBJIHdpbGwgYWRkDQpteSBUZXN0ZWQtYnku DQoNClRoYW5rcywNCg0KQmFydC4NCg0KDQo= ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: v4.16-rc1 + dm-mpath + BFQ 2018-05-10 16:12 ` Bart Van Assche @ 2018-05-10 16:13 ` Paolo Valente 0 siblings, 0 replies; 18+ messages in thread From: Paolo Valente @ 2018-05-10 16:13 UTC (permalink / raw) To: Bart Van Assche Cc: ulf.hansson@linaro.org, axboe@kernel.dk, linux-block@vger.kernel.org, snitzer@redhat.com, broonie@linaro.org, axboe@fb.com, linus.walleij@linaro.org > Il giorno 10 mag 2018, alle ore 18:12, Bart Van Assche = <Bart.VanAssche@wdc.com> ha scritto: >=20 > On Fri, 2018-05-04 at 22:11 +0200, Paolo Valente wrote: >>> Il giorno 30 mar 2018, alle ore 18:57, Bart Van Assche = <bart.vanassche@wdc.com> ha scritto: >>>=20 >>> On Fri, 2018-03-30 at 10:23 +0200, Paolo Valente wrote: >>>> 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 >>> since RDMA/CM support for the SRP target driver is missing from that = kernel. >>> That's why I asked you to use the for-next branch from my github = repository >>> 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 >>> are the results that I obtained with label next-20180329 and the = kernel >>> 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 >>> 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 >>> 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> >>=20 >> I suspect my recent fix [1] might fix your failure too. >>=20 >> [1] = https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1682264.html >=20 > Hello Paolo, >=20 > With patch [1] applied I can't reproduce the aforementioned crash. I = will add > my Tested-by. >=20 Great, thanks! Paolo > Thanks, >=20 > Bart. >=20 >=20 ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2018-05-10 16:13 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-09 18:54 v4.16-rc1 + dm-mpath + BFQ Bart Van Assche
2018-02-09 18:58 ` Jens Axboe
2018-02-09 19:14 ` Bart Van Assche
2018-02-09 19:18 ` Jens Axboe
2018-02-12 7:35 ` Paolo Valente
2018-02-12 16:31 ` Bart Van Assche
2018-02-13 18:38 ` Paolo Valente
2018-02-13 18:47 ` Bart Van Assche
2018-02-14 17:55 ` Paolo Valente
2018-02-14 18:11 ` Bart Van Assche
2018-02-16 7:39 ` Paolo Valente
2018-02-21 18:09 ` Bart Van Assche
2018-03-01 1:35 ` Bart Van Assche
[not found] ` <10BDC305-A874-477C-9545-5617036C2E91@linaro.org>
[not found] ` <2dcb12b92e50a31c55dd3ab0e464cc819432c3d3.camel@wdc.com>
[not found] ` <7E372E2C-83A8-4EF4-B52E-E3AC6ED01C74@linaro.org>
[not found] ` <a6e512dff10d0cff12a688bbf1b30e275a91633e.camel@wdc.com>
[not found] ` <6A355080-C9A8-475D-9A35-32850D771ABB@linaro.org>
[not found] ` <1525466533.9055.1.camel@redhat.com>
2018-05-10 15:16 ` Bart Van Assche
2018-05-10 15:22 ` Paolo Valente
2018-05-10 16:11 ` Laurence Oberman
2018-05-10 16:12 ` Bart Van Assche
2018-05-10 16:13 ` Paolo Valente
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).