]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit321708553e7900256cd11e08ea323c7063604f2b
tree5e64aff0058b401e2c8f9b39f3995abf3f5ddd6e
parent4aa94a5a76256f33e6d6dea2aa55931a264aac17
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