[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164601967777.4503.13105145657095242015.b4-ty@oracle.com>
Date: Sun, 27 Feb 2022 22:43:21 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Guixin Liu <kanie@...ux.alibaba.com>, bostroesser@...il.com
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
xlpang@...ux.alibaba.com, target-devel@...r.kernel.org,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
xiaoguang.wang@...ux.alibaba.com
Subject: Re: [PATCH V4] scsi: target: tcmu: Make cmd_ring_size changeable via configfs
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
Powered by blists - more mailing lists