HomeFreeBSD

GEOM: Set G_CF_DIRECT_SEND/RECEIVE for taste consumers.

Description

GEOM: Set G_CF_DIRECT_SEND/RECEIVE for taste consumers.

All I/O requests through the taste consumers are synchronous, done
with g_read_data() and without any locks held. It makes no sense
to delegate the I/O to g_down/g_up threads.

This removes many of context switches during disk retaste.

MFC after: 2 weeks

Details

Provenance
mavAuthored on Jan 30 2022, 2:59 AM
Parents
rGac678b4aaf1e: bhyve nvme: Fix Identify Namespace, NSID=ffffffff
Branches
Unknown
Tags
Unknown