Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
David van Moolenbroek 7d0647db6a VFS: fix aborting queued requests after FS crash
The new asserts from git-29e004d exposed an issue in how VFS handles
aborting file system (FS) requests that are queued for a FS (as
opposed to sent to it) when that FS crashes.  In that scenario, the
queued worker has its w_task set to NONE, because there is no ongoing
communication.  However, worker_stop() is called on it regardless,
which used to abort the request only if w_task was not set to NONE,
leading to an improperly aborted request, a warning, and a VFS crash a
bit later.  This patch changes worker_stop() so that w_task need not
be set to a valid endpoint for FS requests to be properly aborted.

Change-Id: Ib73db285e689ae4742b15cba26137bf340bc303b
2016-06-17 18:02:29 +00:00
bin Import NetBSD ps(1) 2016-01-13 20:32:52 +01:00
common w(1): switch to libkvm 2016-01-13 20:32:50 +01:00
crypto Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
distrib libc: enable all functionality in net/ 2016-03-13 16:03:39 +00:00
docs Add PTYFS, Unix98 pseudo terminal support 2015-06-23 17:43:46 +00:00
etc Boot-to-ramdisk image generation scripts 2016-03-21 21:01:20 +01:00
external Cross-compilation fixes: 2016-02-08 13:05:55 +01:00
games Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
gnu NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
include Start using sysctl(3) throughout userland 2016-01-13 20:32:45 +01:00
lib Revert "libutil: add getmaxpartitions() implementation" 2016-03-13 19:51:58 +00:00
libexec ld.elf_so: sysctl support uncommented 2016-01-16 14:04:24 +01:00
minix VFS: fix aborting queued requests after FS crash 2016-06-17 18:02:29 +00:00
releasetools Boot-to-ramdisk image generation scripts 2016-03-21 21:01:20 +01:00
sbin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
share Integrate ASR instrumentation into build system 2016-01-13 20:32:34 +01:00
sys libc: enable all functionality in net/ 2016-03-13 16:03:39 +00:00
tests tests: add most kyua kernel tests 2016-01-16 14:04:25 +01:00
tools Cross-compilation fixes: 2016-02-08 13:05:55 +01:00
usr.bin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
usr.sbin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00