> Perhaps we should starting thinking about kmalloc()ing
> scsi_cmnd::cmnd (rather than having it as a fixed array).
> The mid-level owns that structure so it can take care
> of allocation and de-allocation. We would have to
> find code that does sizeof(scsi_cmnd::cmnd) and fix it.
That would be the way to go if we want to support that big commands,
maybe with an pre-allocated array for 12byte commands so that the
fast-path doesn't get slowed down.
But I'm not going to do that for some vapur-ware, we'll need a real-life
application for that.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|