akiradeveloper / dm-writeboost

Log-structured Caching for Linux
GNU General Public License v2.0
120 stars 19 forks source link

dmsetup create examples in readme is confusing #163

Closed akiradeveloper closed 7 years ago

akiradeveloper commented 7 years ago

The example runs dmsetup create twice and this is quite confusing although it's obvious one should call create once.

e.g.
BACKING=/dev/sdb # example
CACHE=/dev/sdc # example
sz=`blockdev --getsize ${BACKING}`
dmsetup create wbdev --table "0 $sz writeboost $BACKING $CACHE"
dmsetup create wbdev --table "0 $sz writeboost $BACKING $CACHE 2 writeback_threshold 70"