gfs2: read journal in large chunks to locate the head
authorAbhi Das <adas@redhat.com>
Fri, 9 Nov 2018 15:57:20 +0000 (09:57 -0600)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 11 Dec 2018 16:50:36 +0000 (17:50 +0100)
commit2a5f14f279f59143139bcd1606903f2f80a34241
tree5e64aff0058b401e2c8f9b39f3995abf3f5ddd6e
parent40e0e61e366bed56b71edb3b970245165090ec9a
gfs2: read journal in large chunks to locate the head

Use bio(s) to read in the journal sequentially in large chunks and
locate the head of the journal.

This version addresses the issues Christoph pointed out w.r.t error handling
and using deprecated API.

Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
fs/gfs2/glops.c
fs/gfs2/log.c
fs/gfs2/lops.c
fs/gfs2/lops.h
fs/gfs2/ops_fstype.c
fs/gfs2/recovery.c
fs/gfs2/recovery.h
fs/gfs2/super.c