Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Device Mapper Proxy

Module for Linux kernel, that create virtual block device on top of some block device to keep statistics.

Build and Setup

Ensure you have gcc, make, linux-headers, dmsetup package installed.

$ make -j8
$ sudo insmod dmp.ko

Test

$ sudo dmsetup create zero1 --table "0 4096 zero"
$ sudo dmsetup create dmp1 --table "0 4096 dmp /dev/mapper/zero1"
$ sudo dd if=/dev/random of=/dev/mapper/dmp1 bs=4k count=1
$ sudo dd of=/dev/null if=/dev/mapper/dmp1 bs=4k count=1

Clean

$ make clean

About

Module for Linux kernel, that create virtual block device on top of some block device to keep statistics

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages