Page MenuHomeFreeBSD

umass: Move common code into umass_std_transform
ClosedPublic

Authored by imp on Mar 23 2025, 9:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 21, 6:56 AM
Unknown Object (File)
Mon, Oct 20, 1:23 AM
Unknown Object (File)
Fri, Oct 3, 12:45 AM
Unknown Object (File)
Sun, Sep 28, 10:37 AM
Unknown Object (File)
Sep 9 2025, 6:42 PM
Unknown Object (File)
Sep 8 2025, 12:04 PM
Unknown Object (File)
Sep 8 2025, 12:04 PM
Unknown Object (File)
Aug 31 2025, 3:16 AM

Details

Summary

Move the length checks, and byte copying into umass_std_transform. The
copies are typically small and this simplifies the code a lot. Move
zeroing the buffer now to only when we change TEST UNIT READY to START
STOP.

Sponsored by: Netflix

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:50 PM
imp created this revision.

LGTM, but could it be that I was assigned by mistake? I haven't submitted any patches around this part of the code.

imp added a subscriber: nakayamakenjiro_gmail.com.

LGTM, but could it be that I was assigned by mistake? I haven't submitted any patches around this part of the code.

Ah yes. It was by mistake, but thanks for the eyeballs and your time.

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.