Commit 639fee5f authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 7c34c200
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;