DragonFly commits List (threaded) for 2010-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: ips - Issue IPS_CACHE_FLUSH_CMD to the controller on BUF_CMD_FLUSH
commit ac8b35f8e5dea753a3e43f8183dc547946cc6fc9
Author: YONETANI Tomokazu <y0netan1@dragonflybsd.org>
Date: Wed Sep 15 14:07:56 2010 +0900
ips - Issue IPS_CACHE_FLUSH_CMD to the controller on BUF_CMD_FLUSH
Previously, BUF_CMD_FLUSH ended up as a zero-byte write command, which
always fails, flooding the console with `iobuf error 5'. Filesystems
other than HAMMER almost never issues this command, so we've never
seen the error message in pre-HAMMER days. This commit adds a new path
for BUF_CMD_FLUSH and issue IPS_CACHE_FLUSH_CMD for it.
Also mention the tunable/sysctl knob debug.ips.ignore_flush_cmd in ips(4)
man page in case the new behavior confuses your controller; when set, the
driver just discards BUF_CMD_FLUSH.
Summary of changes:
share/man/man4/ips.4 | 12 +++++++
sys/dev/raid/ips/ips_commands.c | 63 ++++++++++++++++++++++++++++++++++++++-
2 files changed, 74 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ac8b35f8e5dea753a3e43f8183dc547946cc6fc9
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]