On Wed, 17 Oct 2007, Jens Axboe wrote: > > Ah ok, I see why you are confused. The SCSI case is one, it allocs and > frees the sg table each time. The entries are thus always initialized > when they end up in blk_rq_map_sg(). However, other drivers allocate one > at driver init time and use that one all the time. It needs to be > initially cleared, but it wont be cleared before each request mapping. > And that is fine, as long as we do clear entries in blk_rq_map_sg(). Ahh, ok, thanks for clearing that up. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [bug] block subsystem related crash with latest -git
- From: Linus Torvalds <[email protected]>
- Re: [bug] block subsystem related crash with latest -git
- From: Jens Axboe <[email protected]>
- Re: [bug] block subsystem related crash with latest -git
- From: Jens Axboe <[email protected]>
- Re: [bug] block subsystem related crash with latest -git
- From: Jens Axboe <[email protected]>
- Re: [bug] block subsystem related crash with latest -git
- From: Jens Axboe <[email protected]>
- Re: [bug] block subsystem related crash with latest -git
- From: Linus Torvalds <[email protected]>
- Re: [bug] block subsystem related crash with latest -git
- From: Jens Axboe <[email protected]>
- Re: [bug] block subsystem related crash with latest -git
- From: Linus Torvalds <[email protected]>
- Re: [bug] block subsystem related crash with latest -git
- From: Jens Axboe <[email protected]>
- Re: [bug] block subsystem related crash with latest -git
- From: Linus Torvalds <[email protected]>
- Re: [bug] block subsystem related crash with latest -git
- From: Jens Axboe <[email protected]>
- Re: [bug] block subsystem related crash with latest -git
- Prev by Date: Re: [PATCH] rd: Mark ramdisk buffers heads dirty
- Next by Date: Re: [RESEND] file operations: release can race with read/write?
- Previous by thread: Re: [bug] block subsystem related crash with latest -git
- Next by thread: Re: [bug] block subsystem related crash with latest -git
- Index(es):