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)
Oct 8 2024, 11:08 PM
Unknown Object (File)
Oct 2 2024, 3:32 AM
Unknown Object (File)
Sep 22 2024, 5:00 AM
Unknown Object (File)
Sep 22 2024, 12:40 AM
Unknown Object (File)
Sep 18 2024, 3:52 AM
Unknown Object (File)
Sep 8 2024, 7:17 PM
Unknown Object (File)
Sep 8 2024, 7:14 PM
Unknown Object (File)
Sep 7 2024, 6:01 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.