diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-29 09:38:00 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:02 -0400 |
commit | a236aed14ccb0661611d4416f6b573d892bdc60a (patch) | |
tree | b275333ab5bfaa9ea68756aa0a5c6d5c6fef5405 /fs/btrfs/volumes.h | |
parent | 4235298e4fc3c1a09f659cfe2fd285024eeb2241 (diff) |
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.h | 3 |
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 { | |||
90 | atomic_t stripes_pending; | 90 | atomic_t stripes_pending; |
91 | bio_end_io_t *end_io; | 91 | bio_end_io_t *end_io; |
92 | void *private; | 92 | void *private; |
93 | int error; | 93 | atomic_t error; |
94 | int max_errors; | ||
94 | int num_stripes; | 95 | int num_stripes; |
95 | struct btrfs_bio_stripe stripes[]; | 96 | struct btrfs_bio_stripe stripes[]; |
96 | }; | 97 | }; |