Ming Lei <ming.lei@xxxxxxxxxx> writes: > ublk zoned takes 16 bytes in each request pdu just for handling REPORT_ZONE > operation, this way does waste memory since request pdu is allocated > statically. > > Store the transient zone report data into one global xarray, and remove > it after the report zone request is completed. This way is reasonable > since report zone is run in slow code path. > > Cc: Damien Le Moal <dlemoal@xxxxxxxxxx> > Cc: Andreas Hindborg <a.hindborg@xxxxxxxxxxx> > Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx> > --- Nice! Reviewed-by: Andreas Hindborg <a.hindborg@xxxxxxxxxxx> Best regards, Andreas