HomeFreeBSD

glabel: Set G_CF_DIRECT_SEND/RECEIVE for taste consumer.

Description

glabel: Set G_CF_DIRECT_SEND/RECEIVE for taste consumer.

All I/O requests through the taste consumer 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 28 2022, 7:22 PM
Parents
rGffc1cc95e78e: GEOM: Relax direct dispatch for GEOM threads.
Branches
Unknown
Tags
Unknown