lkml.org 
[lkml]   [2022]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH V4] scsi: target: tcmu: Make cmd_ring_size changeable via configfs
Date
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

\
 
 \ /
  Last update: 2022-02-28 04:44    [W:0.061 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site