Page MenuHomeFreeBSD

scsi/da: Only send SYNC CACHE for devices with mode page 8
ClosedPublic

Authored by imp on Mar 23 2025, 9:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 23, 10:32 AM
Unknown Object (File)
Mon, Nov 10, 12:17 AM
Unknown Object (File)
Tue, Nov 4, 12:59 AM
Unknown Object (File)
Sat, Nov 1, 7:14 AM
Unknown Object (File)
Tue, Oct 28, 9:59 PM
Unknown Object (File)
Tue, Oct 28, 11:18 AM
Unknown Object (File)
Mon, Oct 27, 11:15 PM
Unknown Object (File)
Mon, Oct 27, 6:28 AM
Subscribers
None

Details

Summary

Mode page 8 is the 'cache' mode page. It's used to control the cache,
if one is present, on a device. When it is absent, that's a very
strong hint that SYNCHRONIZED CACHE willl not be necessary. Set the
NO_SYNC_CACHE quirk for this situation.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Mar 23 2025, 9:51 PM

Mask the page number off, otherwise we'll reject valid pages with high bits set.

This revision was not accepted when it landed; it landed in state Needs Review.May 7 2025, 9:37 PM
This revision was automatically updated to reflect the committed changes.