summaryrefslogtreecommitdiff
path: root/tools/virtio
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2014-02-03 09:57:29 (GMT)
committerSteven Whitehouse <swhiteho@redhat.com>2014-02-03 09:57:29 (GMT)
commit885bceca7ff12021c9c17f58d12e12ec6e8e59a6 (patch)
tree3e0b43c2efc2856f2c8d1b1505fc496581b2f41d /tools/virtio
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
downloadlinux-885bceca7ff12021c9c17f58d12e12ec6e8e59a6.tar.xz
GFS2: Plug on AIL flush
When we do a flush of the AIL list, we are writing out what is likely to be a lot of small I/Os, which are possibly in an order which is not ideal performance-wise. Since this is done by calling filemap_fdatatwrite for each individual inode's address space there is no overall plugging going on. In addition to that, we do not always wait for AIL i/o when we flush it, so that it is possible for things to get left behind on the queue. By adding explicit plugging here, we reduce the chances of this being an issues. A quick test using the AIL flush tracepoint shows a small, but measurable improvement. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions