gfs2: Extended attribute readahead optimization
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 13 Nov 2015 13:44:57 +0000 (07:44 -0600)
committerBob Peterson <rpeterso@redhat.com>
Wed, 18 Nov 2015 20:51:50 +0000 (14:51 -0600)
commit39b0555f7a1f96ecd303103df15596db49c36c65
tree558dd9324ec3996da145ddad3ec6b3a079bfb2a2
parentc8d577038449a718ad0027d1790b6ef4441715d4
gfs2: Extended attribute readahead optimization

Instead of submitting a READ_SYNC bio for the inode and a READA bio for
the inode's extended attributes through submit_bh, submit a single READ_SYNC
bio for both through submit_bio when possible.  This can be more
efficient on some kinds of block devices.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/meta_io.c