HomeFreeBSD

Improve length handling when writing sense data.

Description

Improve length handling when writing sense data.

  • Allow maximal sense size limitation via Control Extension mode page.
  • When sense size limited, include descriptors atomically: whole or none.
  • Set new SDAT_OVFL bit if some descriptors don't fit the limit.
  • Report real written sense length instead of static maximal 252 bytes.

MFC after: 2 weeks

Details

Provenance
mavAuthored on
Parents
rS310523: MFC r308532: update SMB_BWRITE documentation, clarify SMB_BREAD
Branches
Unknown
Tags
Unknown