-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using writeback mode need configure dm-writeback ? #62
Comments
I do not make it configurable, at least not yet. This could be a feature enhancement. |
Thanks very much adding writeback to rapiddisk.
Today is possible that configuration above with rapiddisk current version ? |
No. It is not possible today to tune (to defer or delay) the persisting of cache data to the backing store from the rapiddisk utility. That will still need to be manually enabled via dmsetup. Again, that can be a feature enhancement where rapiddisk could potentially include the following parameters:
https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/writecache.html |
Thanks for your reply and the information link. "autocommit_blocks n (default: 64 for pmem, 65536 for ssd) Only trying understand if possible force flush defer write only when system shutdown or commit time. |
Thanks for replying. OS boot log reference for dm-writeback 0 (root 128 MB), 1 (home 256 MB) and 2 (opt 8 MB) [ 7.357681] kernel: BTRFS info (device dm-0): flagging fs with big metadata feature [ 14.253692] kernel: BTRFS info (device dm-1): flagging fs with big metadata feature [ 14.880132] kernel: BTRFS info (device dm-2): flagging fs with big metadata feature BTRFS change localization of metadata when doing fsync. Written metadata and after the superblock. [ In BTRFS documentation ] Can I change metadata block size without recreating the filesytem? No, the value passed to mkfs.btrfs -n SIZE cannot be changed once the filesystem is created. A backup/restore is needed. Is possible using dmsetup configure the created dm-wb caches ? The documentation recommend use block size same value used in page file ( 4 KB). I have an OS installed for testing dmwrtecache. If have any command to use can be used here. |
@Augusto7743 Are we going to use this issue number to track it and close #122? |
Yes. |
I am a new Linux user.
Thanks very much in adding writeback in rapiddisk.
When using rapiddisk command line selecting writeback is need to configure dm-writeback ?
If yes setting flush data time is in dm-writeback ?
Thanks very much for reply.
Have an nice day.
The text was updated successfully, but these errors were encountered: