|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH v2 1/2] scsi: Optimize scsi_req_alloc |
Date: | Mon, 15 Sep 2014 12:15:48 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Il 15/09/2014 07:23, Fam Zheng ha scritto: > + uint8_t sense[SCSI_SENSE_BUF_SIZE]; > + uint32_t sense_len; > + bool enqueued; > + bool io_canceled; > + bool retry; > + bool dma_started; > SCSICommand cmd; > BlockDriverAIOCB *aiocb; > QEMUSGList *sg; > - bool dma_started; > - uint8_t sense[SCSI_SENSE_BUF_SIZE]; > - uint32_t sense_len; > - bool enqueued; > - bool io_canceled; > - bool retry; > - void *hba_private; > QTAILQ_ENTRY(SCSIRequest) next; Similar to v1, cmd is filled in by scsi_req_new and can be moved to the uninitialized area. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |