]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Introduce dm_bm_set_read_only to switch the block manager into a
authorJoe Thornber <ejt@redhat.com>
Tue, 24 Jul 2012 23:25:32 +0000 (09:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Jul 2012 23:25:32 +0000 (09:25 +1000)
commitcf335f0385b11ebf7ec015d12e72cae417b61128
tree0b60bd48fe9dab0b2b2388667eed1d2d74713538
parent8a4181bf26e14a957fa86f6025ee8b1791bf2d08
Introduce dm_bm_set_read_only to switch the block manager into a
read-only mode.  To be used when dm-thin degrades due to io errors on
the metadata device.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/persistent-data/dm-block-manager.c
drivers/md/persistent-data/dm-block-manager.h