Re: [PATCH 10/19] s390/dasd: Extend prepare_itcw() to support WRITE_FULL_TRACK
| Newsgroups | org.kernel.vger.linux-s390 |
|---|---|
| Message-ID | <[email protected]> |
> prepare_itcw() builds the FCX prefix block (PFX + LRE) for track-mode > I/O. Extend it to handle DASD_ECKD_CCW_WRITE_FULL_TRACK. > > WRITE_FULL_TRACK needs two extra bytes appended to the LRE for that > bitmask. The prefix block is a scratch buffer copied into the TCCB by > itcw_add_dcw(), so keep it on the stack (sized for the two extra bytes) > rather than allocating it: this runs in the writeback path and must not > depend on an allocation that can fail under memory pressure. > > Reviewed-by: Jan Höppner <[email protected]> > Signed-off-by: Stefan Haberland <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=10