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
F132469831: D49476.id.diff
Fri, Oct 17, 4:59 AM
Unknown Object (File)
Sun, Oct 5, 10:59 PM
Unknown Object (File)
Fri, Oct 3, 4:25 AM
Unknown Object (File)
Sat, Sep 27, 1:14 PM
Unknown Object (File)
Sat, Sep 20, 3:14 AM
Unknown Object (File)
Sep 2 2025, 9:57 PM
Unknown Object (File)
Sep 2 2025, 10:10 AM
Unknown Object (File)
Aug 26 2025, 12: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.