Re: [PATCH 4/2] ide-{floppy,tape}: remove request stack

From: Borislav Petkov
Date: Wed Aug 06 2008 - 15:38:44 EST


On Wed, Aug 06, 2008 at 08:33:24PM +0200, Bartlomiej Zolnierkiewicz wrote:
> On Wed, Aug 6, 2008 at 7:14 PM, Bartlomiej Zolnierkiewicz
> <bzolnier@xxxxxxxxx> wrote:
>
> [...]
>
> > ---
> > pc stack can also be removed with a bit of care, we just need sth like:
> >
> > - add request_sense_pc (request_sense_rq alike)
> >
> > - dynamically allocate pc-s for blk_{fs,pc}_request() in ide-floppy.c
> > and for REQ_IDETAPE_{READ,WRITE} in ide-tape.c
> >
> > - add PC_FLAG_DYN for dynamically allocated pc-s
> >
> > - (the difficult part) figure out where to put freeing of dynamic pc-s
> >
> > Borislav, AFAIR you had some patches doing dynamic pc/rq-s?
> > Maybe it would be possible to dust off just their rq-parts?
>
> Please disregard above comments -- I found a better way to deal with rq stack.

Looks good so far, even slimmer than the dynamic alloc ones i'd done. Will test
with ide-floppy on the weekend.

--
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/