Re: [PATCH] kill bio->bi_set

2005-07-26 Thread Jens Axboe
On Tue, Jul 26 2005, Peter Osterlund wrote: > Jens Axboe <[EMAIL PROTECTED]> writes: > > > On Sat, Jul 23 2005, Peter Osterlund wrote: > > > Jens Axboe <[EMAIL PROTECTED]> writes: > > > > > > > Dunno why I didn't notice before, but ->bi_set is totally unnecessary > > > > bloat of struct bio. Just

Re: [PATCH] kill bio->bi_set

2005-07-25 Thread Peter Osterlund
Jens Axboe <[EMAIL PROTECTED]> writes: > On Sat, Jul 23 2005, Peter Osterlund wrote: > > Jens Axboe <[EMAIL PROTECTED]> writes: > > > > > Dunno why I didn't notice before, but ->bi_set is totally unnecessary > > > bloat of struct bio. Just define a proper destructor for the bio and it > > > alrea

Re: [PATCH] kill bio->bi_set

2005-07-23 Thread Jens Axboe
On Sat, Jul 23 2005, Peter Osterlund wrote: > Jens Axboe <[EMAIL PROTECTED]> writes: > > > Dunno why I didn't notice before, but ->bi_set is totally unnecessary > > bloat of struct bio. Just define a proper destructor for the bio and it > > already knows what bio_set it belongs too. > > This caus

Re: [PATCH] kill bio->bi_set

2005-07-23 Thread Peter Osterlund
Jens Axboe <[EMAIL PROTECTED]> writes: > Dunno why I didn't notice before, but ->bi_set is totally unnecessary > bloat of struct bio. Just define a proper destructor for the bio and it > already knows what bio_set it belongs too. This causes crashes on my computer. > +void bio_free(struct bio *b

[PATCH] kill bio->bi_set

2005-07-20 Thread Jens Axboe
Hi, Dunno why I didn't notice before, but ->bi_set is totally unnecessary bloat of struct bio. Just define a proper destructor for the bio and it already knows what bio_set it belongs too. Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> diff --git a/drivers/md/dm-io.c b/drivers/md/dm-io.c --- a/dr