git: ips - Issue IPS_CACHE_FLUSH_CMD to the controller on BUF_CM

看板DFBSD_commit作者時間15年前 (2010/09/15 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Ca5fMQR (DFBSD_commit)