Bug 613907
Summary: | Device mapper multipath devices are breaking up I/Os requests into page size chunks. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Lachlan McIlroy <lmcilroy> |
Component: | kernel | Assignee: | Lachlan McIlroy <lmcilroy> |
Status: | CLOSED NOTABUG | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 5.4 | CC: | bmarzins, tao, vgaikwad |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-06-21 01:04:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lachlan McIlroy
2010-07-13 08:05:52 UTC
Event posted on 13-07-2010 02:57pm BST by breeves
> Now it gets stranger. I changed the test to issue I/O through
> the /dev/dm-N device and I'm seeing the same avgrq-sz as the
> customer - 4KB. There's definitely something strange going on
> with device-mapper.
That seems bizarre and a little hard to believe; the only difference
between the two nodes should be the path name - the two should otherwise
be identical.
Will read back over the history and see if there's anything I spot.
Is the system set up for testing still available somewhere?
Thanks,
This event sent from IssueTracker by breeves
issue 1075963
On later kernels (-206) the two devices (/dev/dm-0 and /dev/mapper/mpath0) both behave the same way and report all I/Os as page sized now so that discrepency between the two devices must have been fixed somehow. This problem is not caused by device mapper splitting up I/Os. The dd writes are going into the device cache and later pushed out to disk by a writepage operation (kswapd, pdflush or a flush on file close). Kswapd writes out one dirty page at a time and relies on the elevator to merge them into larger I/Os. Device mapper sits above the elevator so it is showing all the unmerged requests from kswapd and that's why they are all one page in size. This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update. Contact your manager or support representative in case you need to escalate this bug. |