[dm-devel] multipath dm_request_fn(in dm.c) is not getting called
Muneendra Kumar M
mmandala at Brocade.com
Thu Jul 20 14:01:20 UTC 2017
Hi,
We are testing the multipath behavior on centos7.3 and linux version Linux EC056108 3.10.
We have two paths connected to dm-1(sda and sdb).
We are using fio tool to read data from /dev/dm-1 and we are seeing data on both paths(sda and sdb)
Below is the fio command which we are using
./fio --filename=/dev/dm-2 --direct=1 --rw=randrw --refill_buffers --norandommap --randrepeat=0 --ioengine=libaio --bs=512k --rwmixread=100 --iodepth=16 --numjobs=16 --runtime=60 --group_reporting --name=4ktest --size=500m
Test Case: Dropping all the requests on sdb .
Observation: When we drop frames on sdb we observe that on both sda and sdb there is no data flow.
HBA is taking around 30 secs to report the io failure then followed by failover.
During this 30 secs time we are not seeing any data on sda and even dm_request_fn(in dm.c) is not getting called which internally pushes the queue request to sda/sdb.
Theoretically data should flow on sda as we are dropping data only on sdb.
Any inputs here will help me to understand the concept better.
Regards,
Muneendra.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20170720/489c9a8b/attachment.htm>
More information about the dm-devel
mailing list