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>
This commit is contained in:
Abhi Das
2018-11-09 09:57:20 -06:00
committed by Andreas Gruenbacher
vanhempi 40e0e61e36
commit 2a5f14f279
8 muutettua tiedostoa jossa 192 lisäystä ja 134 poistoa

Näytä tiedosto

@@ -28,6 +28,7 @@
#include "util.h"
#include "trans.h"
#include "dir.h"
#include "lops.h"
struct workqueue_struct *gfs2_freeze_wq;