nvme: remove initialization of nvme_reqest::parent
The parent field is in the cache line of nvme_request that is only supposed to be accessed for split (child) I/Os. All accesses to parent are done from child-specific calls now, so it does not need to be initialized in the common case of a non-split I/O. nvme_request_add_child() will set parent when splitting occurs. Change-Id: Ib86c16ba1ea2ce32f62079831101da2a099047af Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
7c34c2005d
commit
639fee5f13
@ -150,7 +150,6 @@ nvme_allocate_request(const struct nvme_payload *payload, uint32_t payload_size,
|
||||
req->cb_fn = cb_fn;
|
||||
req->cb_arg = cb_arg;
|
||||
req->timeout = true;
|
||||
req->parent = NULL;
|
||||
req->payload = *payload;
|
||||
req->payload_size = payload_size;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user