diff options
Diffstat (limited to 'include/linux/raid/raid5.h')
| -rw-r--r-- | include/linux/raid/raid5.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/raid/raid5.h b/include/linux/raid/raid5.h index 5e63e608b5eb..9d08de50d13a 100644 --- a/include/linux/raid/raid5.h +++ b/include/linux/raid/raid5.h @@ -148,6 +148,11 @@ struct stripe_head { #define R5_UPTODATE 0 /* page contains current data */ #define R5_LOCKED 1 /* IO has been submitted on "req" */ #define R5_OVERWRITE 2 /* towrite covers whole page */ +/* and some that are internal to handle_stripe */ +#define R5_Insync 3 /* rdev && rdev->in_sync at start */ +#define R5_Wantread 4 /* want to schedule a read */ +#define R5_Wantwrite 5 +#define R5_Syncio 6 /* this io need to be accounted as resync io */ /* * Write method @@ -193,8 +198,6 @@ struct stripe_head { struct disk_info { mdk_rdev_t *rdev; - int operational; - int write_only; }; struct raid5_private_data { |
