search for: nullb_device_attr

Displaying 3 results from an estimated 3 matches for "nullb_device_attr".

2020 Jul 21
0
[PATCH 05/10] block: null: use blk_is_valid_logical_block_size
...two ways of creating the block devices. On module load it creates by default a single block device and it uses g_bs as its block size, but then it also has configfs based interface that allows to create more block devices. The default is taken also from g_bs but then user can change it ( via those NULLB_DEVICE_ATTR wrappers) I changed the behavior slightly, that now if user supplies bad value, it will be rejected instead of finding closest valid value. In addition to that there is very small bug that didn't bother to fix in this series (but I will in next one). The bug is that when null_validate_conf fai...
2020 Jul 21
17
[PATCH 00/10] RFC: move logical block size checking to the block core
This patch series aims to move the logical block size checking to the block code. This was inspired by missing check for valid logical block size in virtio-blk which causes the kernel to crash in a weird way later on when it is invalid. I added blk_is_valid_logical_block_size which returns true iff the block size is one of supported sizes. I added this check to virtio-blk, and also converted
2020 Jul 21
17
[PATCH 00/10] RFC: move logical block size checking to the block core
This patch series aims to move the logical block size checking to the block code. This was inspired by missing check for valid logical block size in virtio-blk which causes the kernel to crash in a weird way later on when it is invalid. I added blk_is_valid_logical_block_size which returns true iff the block size is one of supported sizes. I added this check to virtio-blk, and also converted