git: sys/dev/disk/dm: Fix dm-delay behavior for compatibility with Linux
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Sat Oct 17 09:10:29 PDT 2015
commit 037a33c5852ff57fb122c5fbceba87a6c1df81f2
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Sat Oct 17 23:01:22 2015 +0900
sys/dev/disk/dm: Fix dm-delay behavior for compatibility with Linux
The original Linux dm-delay's behavior was to
(A) use read params for write if write params aren't specified,
but not to
(B) have no delay for write if write params aren't specified.
DragonFly currently does (B) and this wasn't intentional,
so change it to (A) for compatibility with Linux dm-delay.
Summary of changes:
share/man/man4/dm_target_delay.4 | 3 +++
sys/dev/disk/dm/targets/delay/dm_target_delay.c | 33 ++++++++++++-------------
2 files changed, 19 insertions(+), 17 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/037a33c5852ff57fb122c5fbceba87a6c1df81f2
--
DragonFly BSD source repository
More information about the Commits
mailing list