summaryrefslogtreecommitdiffstats
path: root/drivers/Kconfig
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2013-05-10 14:37:19 +0100
committerAlasdair G Kergon <agk@redhat.com>2013-05-10 14:37:19 +0100
commit5d0db96d13a4e2cd22b52494fb19ce5a9c8b8d90 (patch)
tree699c91ea6a15e759ae856f306f2f6ae47f44e7a6 /drivers/Kconfig
parentb17446df2ebcaf32889376d90f4b9b2baebb2db6 (diff)
downloadop-kernel-dev-5d0db96d13a4e2cd22b52494fb19ce5a9c8b8d90.zip
op-kernel-dev-5d0db96d13a4e2cd22b52494fb19ce5a9c8b8d90.tar.gz
dm thin: open dev read only when possible
If a thin pool is created in read-only-metadata mode then only open the metadata device read-only. Previously it was always opened with FMODE_READ | FMODE_WRITE. (Note that dm_get_device() still allows read-only dm devices to be used read-write at the moment: If I create a read-only linear device for the metadata, via dmsetup load --readonly, then I can still create a rw pool out of it.) Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud