Btrfs: Deal with failed writes in mirrored configurations
[linux-2.6-block.git] / fs / btrfs / volumes.h
index 3f9a17f2e41b24b112c162ee85ea094df7bb9389..a9663e92bb14d7d6b07e40b302fa7f2c6b208ce3 100644 (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[];
 };