summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-29 15:38:00 +0200
committerChris Mason <chris.mason@oracle.com>2008-09-25 17:04:02 +0200
commita236aed14ccb0661611d4416f6b573d892bdc60a (patch)
treeb275333ab5bfaa9ea68756aa0a5c6d5c6fef5405 /fs/btrfs/volumes.h
parentBtrfs: Drop some verbose printks (diff)
downloadlinux-a236aed14ccb0661611d4416f6b573d892bdc60a.tar.xz
linux-a236aed14ccb0661611d4416f6b573d892bdc60a.zip
Btrfs: Deal with failed writes in mirrored configurations
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 3f9a17f2e41b..a9663e92bb14 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -90,7 +90,8 @@ struct btrfs_multi_bio {
atomic_t stripes_pending;
bio_end_io_t *end_io;
void *private;
- int error;
+ atomic_t error;
+ int max_errors;
int num_stripes;
struct btrfs_bio_stripe stripes[];
};