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
zatwierdzone przez Andreas Gruenbacher
rodzic 40e0e61e36
commit 2a5f14f279
8 zmienionych plików z 192 dodań i 134 usunięć

Wyświetl plik

@@ -45,6 +45,7 @@
#include "util.h"
#include "sys.h"
#include "xattr.h"
#include "lops.h"
#define args_neq(a1, a2, x) ((a1)->ar_##x != (a2)->ar_##x)