Page MenuHomeFreeBSD

bhyve: NVMe handle zero length DSM ranges
AcceptedPublic

Authored by chuck on Mon, May 18, 6:50 PM.

Details

Reviewers
jhb
imp
Group Reviewers
bhyve
Summary

Dataset Management range specifications may have a zero length (a.k.a.
an empty range definition). Handle the case of all ranges being empty by
completing with Success (DSM commands are advisory only). For
Deallocate, skip empty range definitions when sending TRIM's to the
backing storage.

Fixes UNH Test 2.2.4

Test Plan

Run UNH IOL INTERACT tests

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 31162

Event Timeline

chuck created this revision.Mon, May 18, 6:50 PM
chuck requested review of this revision.Mon, May 18, 6:50 PM
imp accepted this revision.Mon, May 18, 9:15 PM
This revision is now accepted and ready to land.Mon, May 18, 9:15 PM