On 2/22/22 06:04, Christoph Hellwig wrote:
Replace the big fat memset that requires saving and restoring various fields with just initializing those fields that need initialization. All the clearing to 0 ismoved to scsi_prepare_cmd as scsi_ioctl_reset
^ missing space?
alreadly uses kzalloc to allocate a pre-zeroed command. This is still conservative and can probably be optimizated further.
^^^^^^^^^^^ optimized? Anyway: Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>