Btrfs: Deal with failed writes in mirrored configurations

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2008-04-29 09:38:00 -04:00
parent 4235298e4f
commit a236aed14c
4 changed files with 33 additions and 8 deletions
+2 -1
View File
@@ -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[];
};