da(4): Short-circuit unnecessary BIO_FLUSH commands
sys/cam/scsi/scsi_da.c
Complete BIO_FLUSH commands immediately if the da(4) device hasn't
been written since the last flush. If we haven't written to the
device, there is no reason to send a flush.
Submitted by: gibbs
If this is the only use, I would actually prefer to kill 'data' entirely to avoid someone trying to use additional bytes and instead do something like:
Also, I wonder if we should prefer fuebyte() in new code instead? (Maybe kib@ has an opinion on that)