diff options
author | Bodo Stroesser <bostroesser@gmail.com> | 2021-03-24 22:57:58 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-13 05:40:56 +0300 |
commit | 08976cb548d67d8a492d75c9202fde28e21915e2 (patch) | |
tree | 4105a2e4b1a182e52f4d75d35b228cd2ca6945a0 /drivers/target/loopback | |
parent | e719afdcf6911425c404ec50403a9aa116b2b616 (diff) | |
download | linux-08976cb548d67d8a492d75c9202fde28e21915e2.tar.xz |
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 'drivers/target/loopback')
0 files changed, 0 insertions, 0 deletions