md/raid1, raid10: add blktrace records when IO is delayed
authorNeilBrown <neilb@suse.com>
Mon, 14 Nov 2016 05:30:21 +0000 (16:30 +1100)
committerShaohua Li <shli@fb.com>
Fri, 18 Nov 2016 17:35:37 +0000 (09:35 -0800)
commit578b54ade8a5e04df6edc14cb68ad0f6f491a1a1
tree8a538bd4decbbe556c585455efd9ea5daf33bfa9
parent581dbd94da80c845b28666716e30c22c0834756a
md/raid1, raid10: add blktrace records when IO is delayed

Both raid1 and raid10 will sometimes delay handling an IO request,
such as when resync is happening or there are too many requests queued.

Add some blktrace messsages so we can see when that is happening when
looking for performance artefacts.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid1.c
drivers/md/raid10.c