commit | a236aed14ccb0661611d4416f6b573d892bdc60a | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Tue Apr 29 09:38:00 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:02 2008 -0400 |
tree | b275333ab5bfaa9ea68756aa0a5c6d5c6fef5405 | |
parent | 4235298e4fc3c1a09f659cfe2fd285024eeb2241 [diff] [blame] |
Btrfs: Deal with failed writes in mirrored configurations Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index 3f9a17f..a9663e92 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h
@@ -90,7 +90,8 @@ 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[]; };