Re: [dm-devel] [PATCH v2] staging: writeboost: Add dm-writeboost

2014-12-13 Thread Jianjian Huo
just the matter of coefficient > down from 1 to 1/n. > Definitely, Writeboost isn't fit for a machine that needs reboot frequently > (e.g. desktop). > > There is a way to reduce the init time. We can dump "what is the latest log > written back" > on the super

Re: [dm-devel] [PATCH v2] staging: writeboost: Add dm-writeboost

2014-12-12 Thread Jianjian Huo
If I understand it correctly, the whole idea indeed is very simple, the consumer/provider and circular buffer model. use SSD as a circular write buffer, write flush thread stores incoming writes to this buffer sequentially as provider, and writeback thread write those data logs sequentially into ba