diff options
author | 2016-08-16 13:25:22 +0200 | |
---|---|---|
committer | 2016-08-18 11:36:41 -0500 | |
commit | 23e5671a79be00b2f1c895aa93ff40fb75a4647e (patch) | |
tree | 46772f1b850c86f7b7a3914137e6c78548dbc9b3 /fs/gfs2/main.c | |
parent | gfs2: Remove dirty buffer warning from gfs2_releasepage (diff) | |
download | linux-23e5671a79be00b2f1c895aa93ff40fb75a4647e.tar.gz linux-23e5671a79be00b2f1c895aa93ff40fb75a4647e.tar.bz2 linux-23e5671a79be00b2f1c895aa93ff40fb75a4647e.zip |
gfs2: Fix extended attribute readahead optimization
Commit 39b0555f didn't check for a failing bio_add_page in
gfs2_submit_bhs. This could cause I/O requests to get lost, and the
affected buffer heads to stay locked forever. Fix that by submitting
the current bio and allocating another one when bio_add_page fails. (It
is guaranteed that we can at least add one page to a bio.)
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/main.c')
0 files changed, 0 insertions, 0 deletions