akiradeveloper / dm-writeboost

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

dmsetup table has a unnecessary space #168

Closed akiradeveloper closed 7 years ago

akiradeveloper commented 7 years ago
0 8192 linear 252:16 2048

This is a sample of a linear target's table.

0 204800 writeboost  251:0 251:3

And this is of writeboost.

The difference is that writeboost has double spaces between "writeboost" and "251:0". This makes parsing the line unstable.

I found this while I am testing dm-writeboost-tools and will fix in the next release.

akiradeveloper commented 7 years ago

With for-2.2.7 it seems ok now

# dmsetup table wbdev
0 37748736 writeboost 251:0 251:4