]> 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)
commit8475b9f50cebf33bccad965b2d534a1d1a786654
tree5e64aff0058b401e2c8f9b39f3995abf3f5ddd6e
parent6f2d52429b7275a840b45ee33371ac5c09b09554
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