]> git.baikalelectronics.ru Git - kernel.git/commit
dm bufio: add sector start offset to dm-bufio interface
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 4 Jan 2017 19:23:52 +0000 (20:23 +0100)
committerMike Snitzer <snitzer@redhat.com>
Tue, 7 Mar 2017 18:28:33 +0000 (13:28 -0500)
commit400a0befc96240f7bb2a53b9622deffd55d385fe
treee58983fef536dfc8e03d7d1c0da16d8ad1e768f4
parent9b4b5a797cf8a8d904df979891a8de53f2cb9694
dm bufio: add sector start offset to dm-bufio interface

Introduce dm_bufio_set_sector_offset() interface to allow setting a
sector offset for a dm-bufio client.  This is a prereq for the DM
integrity target.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bufio.c
drivers/md/dm-bufio.h