diff options
author | Bodo Stroesser <bostroesser@gmail.com> | 2021-03-24 20:57:58 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-12 22:40:56 -0400 |
commit | 08976cb548d67d8a492d75c9202fde28e21915e2 (patch) | |
tree | 4105a2e4b1a182e52f4d75d35b228cd2ca6945a0 /samples/v4l | |
parent | e719afdcf6911425c404ec50403a9aa116b2b616 (diff) | |
download | linux-stable-08976cb548d67d8a492d75c9202fde28e21915e2.tar.gz linux-stable-08976cb548d67d8a492d75c9202fde28e21915e2.tar.bz2 linux-stable-08976cb548d67d8a492d75c9202fde28e21915e2.zip |
scsi: target: tcmu: Make data_pages_per_blk changeable via configfs
Make data_pages_per_blk changeable similar to the way it is done for
max_data_area_mb. One can change the value by typing:
echo "data_pages_per_blk=N" >control
The value is printed when doing:
cat info
In addition, a new readonly attribute 'data_pages_per_blk' returns the
value on read.
Link: https://lore.kernel.org/r/20210324195758.2021-7-bostroesser@gmail.com
Signed-off-by: Bodo Stroesser <bostroesser@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'samples/v4l')
0 files changed, 0 insertions, 0 deletions