DragonFly commits List (threaded) for 2012-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: disk - add flag to use underlying psize
commit c6bbf777a7a31be27ec52711c50e15bbb88f0e6b
Author: Alex Hornung <ahornung@gmail.com>
Date: Mon Feb 27 21:54:09 2012 +0000
disk - add flag to use underlying psize
* If the top (disk subsystem) psize fails, try again with the
underlying raw device psize if the DSO_RAWPSIZE flag is set for the
disk.
* This allows for disk devices and slices without a proper disklabel to
return a correct psize, which in turn allows the device to be used
for swap.
* Previously that behaviour was integrated with the DSO_DEVICEMAPPER
flag.
Summary of changes:
sys/dev/disk/dm/device-mapper.c | 2 +-
sys/kern/subr_disk.c | 2 +-
sys/sys/disk.h | 4 ++++
3 files changed, 6 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c6bbf777a7a31be27ec52711c50e15bbb88f0e6b
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]