Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH V4] scsi: target: tcmu: Make cmd_ring_size changeable via configfs | Date | Sun, 27 Feb 2022 22:43:21 -0500 |
| |
On Wed, 16 Feb 2022 10:21:49 +0800, Guixin Liu wrote:
> Make cmd_ring_size changeable similar to the way it is done for > max_data_area_mb, the reason is that our tcmu client will create > thousands of tcmu instances, and this will consume lots of mem with > default 8Mb cmd ring size for every backstore. > > One can change the value by typing: > echo "cmd_ring_size_mb=N" > control > The "N" is a integer between 1 to 8, if set 1, the cmd ring can hold > about 6k cmds(tcmu_cmd_entry about 176 byte) at least. > > [...]
Applied to 5.18/scsi-queue, thanks!
[1/1] scsi: target: tcmu: Make cmd_ring_size changeable via configfs https://git.kernel.org/mkp/scsi/c/c7ede4f044b9
-- Martin K. Petersen Oracle Linux Engineering
| |