]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r324644 (by imp):
authormav <mav@FreeBSD.org>
Thu, 1 Feb 2018 19:07:21 +0000 (19:07 +0000)
committermav <mav@FreeBSD.org>
Thu, 1 Feb 2018 19:07:21 +0000 (19:07 +0000)
commit94bf160b70d468c1af238fb1ec973b1216a59def
tree09132aeca64cec243c8df57e4f9b091194651480
parenta250f84db852d6a625c0e7a49cf3965a0444c91e
MFC r324644 (by imp):
Closer examination shows that nvme and CAM both normally zero-fill
allocations (for req and ccb, which ultimately contain the
nvme_cmd). As such, we can micro-optimize these routines. Add a
comment to this effect, and bzero the ccb used to make the requests
for the nda dump rotuine so it more closely matches a ccb allocated
with xpt_get_ccb().
sys/cam/nvme/nvme_da.c
sys/dev/nvme/nvme.h