NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/60986 CVS commit: src/sys/dev
The following reply was made to PR kern/60986; it has been noted by GNATS.
From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/60986 CVS commit: src/sys/dev
Date: Mon, 16 Nov 2026 20:21:32 +0000
Module Name: src
Committed By: riastradh
Date: Mon Nov 16 20:21:32 UTC 2026
Modified Files:
src/sys/dev: fss.c
Log Message:
fss(4): Install a cancel handler.
This way, fss_close doesn't run until all concurrent I/O operations
(read, write, ioctl, strategy) have returned. Note that this applies
independently to the bdev and the cdev, so (e.g.) fss_close may run
on the cdev while there's still an fss_strategy running in parallel.
But in that case, sc->sc_flags will have FSS_BDEV_OPEN set, so
fss_close won't try to detach it too soon.
Prompted by:
PR kern/60986: fssconfig panics on bad backing store type
To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/dev/fss.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index