On Tue, May 19, 2009 at 10:36:46AM +1000, Neil Brown wrote: > > diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c > > index 80ac685..dc2671f 100644 > > --- a/drivers/md/raid0.c > > +++ b/drivers/md/raid0.c > > @@ -23,6 +23,9 @@ > > #include "md.h" > > #include "raid0.h" > > > > +static int handle_split(struct request_queue *q, > > + unsigned int chunk_sects, struct bio *bio); > > + > > static void raid0_unplug(struct request_queue *q) > > { > > mddev_t *mddev = q->queuedata; > > @@ -263,7 +266,12 @@ static int raid0_mergeable_bvec(struct request_queue *q, > > unsigned int chunk_sectors = mddev->chunk_size >> 9; > > Hmm... if someone wanted to globally replace mddev->chunk_size with > chunk_sectors, I wouldn't complain (Hi Andre :-) Obviously I missed this one. Currently, mddev->chunk_size is in bytes, that's probably why I missed it. I'll send a patch ASAP. Thanks Andre
Attachment:
signature.asc
Description: Digital signature