aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-09 16:28:12 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:01 -0400
commit7e38326f5b125288a2baea1d815c500502ab9fc0 (patch)
treec4e173e959c9d3a95b2eb66f8e88f4e2fa526d63 /fs/btrfs/extent_io.h
parentf188591e987e21b6f7f8864c66a02858b95b530e (diff)
Btrfs: Handle checksumming errors while reading data blocks
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r--fs/btrfs/extent_io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index 8d6b8a14cc30..b47859ccd78a 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -32,6 +32,9 @@ struct extent_io_ops {
32 int (*merge_bio_hook)(struct page *page, unsigned long offset, 32 int (*merge_bio_hook)(struct page *page, unsigned long offset,
33 size_t size, struct bio *bio); 33 size_t size, struct bio *bio);
34 int (*readpage_io_hook)(struct page *page, u64 start, u64 end); 34 int (*readpage_io_hook)(struct page *page, u64 start, u64 end);
35 int (*readpage_io_failed_hook)(struct bio *bio, struct page *page,
36 u64 start, u64 end,
37 struct extent_state *state);
35 int (*readpage_end_io_hook)(struct page *page, u64 start, u64 end, 38 int (*readpage_end_io_hook)(struct page *page, u64 start, u64 end,
36 struct extent_state *state); 39 struct extent_state *state);
37 void (*writepage_end_io_hook)(struct page *page, u64 start, u64 end, 40 void (*writepage_end_io_hook)(struct page *page, u64 start, u64 end,