Page MenuHomeFreeBSD

Create a sysctl kern.cam.{,a,n}da.X.invalidate
ClosedPublic

Authored by imp on Mar 4 2018, 6:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 30, 1:59 AM
Unknown Object (File)
Sun, Oct 26, 3:39 AM
Unknown Object (File)
Sat, Oct 25, 4:58 PM
Unknown Object (File)
Sat, Oct 25, 4:58 PM
Unknown Object (File)
Sat, Oct 25, 4:58 PM
Unknown Object (File)
Sat, Oct 25, 10:28 AM
Unknown Object (File)
Sep 3 2025, 6:24 PM
Unknown Object (File)
Aug 8 2025, 3:11 PM
Subscribers
None

Details

Summary

kern.cam.{,a,n}da.X.invalidate=1 forces *daX to detach by calling
cam_periph_invalidate on the underlying periph. This is for testing
purposes only. Put this under CAM_TEST_FAILURE and have it include
the former [AN]DA_TEST_FAILURE, and fix nda to compile with it set.

Sponsored by: Netflix

Test Plan

Invalidate disks w/o I/O going on (passed)
Then do it with I/O going on (pending)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp edited the test plan for this revision. (Show Details)
This revision was not accepted when it landed; it landed in state Needs Review.Mar 14 2018, 5:53 PM
This revision was automatically updated to reflect the committed changes.