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)
Wed, Dec 17, 12:16 PM
Unknown Object (File)
Sat, Dec 6, 3:59 AM
Unknown Object (File)
Fri, Nov 28, 8:37 AM
Unknown Object (File)
Thu, Nov 27, 2:49 PM
Unknown Object (File)
Thu, Nov 27, 10:48 AM
Unknown Object (File)
Thu, Nov 27, 1:34 AM
Unknown Object (File)
Wed, Nov 26, 8:39 AM
Unknown Object (File)
Tue, Nov 25, 6:14 PM
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.