Replies: 5 comments 11 replies
-
I've reviewed a large amount of the stratisd and stratis-cli code and so far am not seeing any references to write-back or write-through modes. So far all reviewed caching segments and references seem to only pass through enablement but are not looking for write mode arguments. Based on the early docs notating this functionality, it appears this is a planned implementation to gain interest and forecast eventual feature set, but is not there yet. If write caching is enabled via the typical LVM cache setup my assumption would be it is defaulting to write-through cache. But it is unclear if write cache is being enabled at all. |
Beta Was this translation helpful? Give feedback.
-
Would there be a way to apply write-back cache in Stratis for testing purposes via an unsupported cli or other method? I am exploring multiple storage options but seem to keep returning to Stratis and traditional LVM. I would love to help test this setup if possible. |
Beta Was this translation helpful? Give feedback.
-
@timwhite1
|
Beta Was this translation helpful? Give feedback.
-
Little update here... I initially tried to design with this layout, using LVM writecache above the integrity RAID and below the Stratis pool:
I'm going to attempt this new design with dm-writecache devices above each backing volume and below the LVM Integrity RAID:
Big picture, this helps to illustrate the challenges that Stratis is beginning to solve-- simplifying complex layered configs into one interface. |
Beta Was this translation helpful? Give feedback.
-
Thank you @timwhite1 for spending the time on this. It might take us a couple of weeks to review this, as we are near the end of a testing and release phase. This is interesting work you are doing, so please allow us time to respond. |
Beta Was this translation helpful? Give feedback.
-
I can see verbiage of support for both modes but I have not located any man page verbiage or articles on how to do this.
From existing docs:
"Caching may be configured for write-back and write-through modes."
Is there is simple command reference that can be shared?
Beta Was this translation helpful? Give feedback.
All reactions