Skip to content

Implemented LoopDevice::set_block_size(). - #97

Open
koutheir wants to merge 1 commit into
stratis-storage:masterfrom
koutheir:master
Open

Implemented LoopDevice::set_block_size().#97
koutheir wants to merge 1 commit into
stratis-storage:masterfrom
koutheir:master

Conversation

@koutheir

@koutheir koutheir commented Aug 21, 2026

Copy link
Copy Markdown

Implemented LoopDevice::set_block_size() which wraps ioctl(LOOP_SET_BLOCK_SIZE) to set the block size of the loop device.

I put the implementation behind a new feature block_size because the flag LOOP_SET_BLOCK_SIZE requires Linux kernel version 4.14 or higher.

@packit-as-a-service

Copy link
Copy Markdown

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo dnf install -y 'dnf*-command(copr)'
  • dnf copr enable packit/stratis-storage-loopdev-3-97-copr_pull
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant