Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2016 09:29:46 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: Not-so stable if you take a CAM error....
Message-ID:  <c7baaa84-71a6-e535-2621-5aab14032598@denninger.net>
In-Reply-To: <447fcrdjgj.fsf@lowell-desk.lan>
References:  <2b0c454b-c1a0-4b5b-e778-bf0939e90ae1@denninger.net> <op.ykfe1fvbkndu52@ronaldradial.radialsg.local> <6e9c07e1-12a6-a7cd-f775-6b0fe5a706bc@denninger.net> <1468243977.72182.118.camel@freebsd.org> <877f5e8e-c1e7-6fb0-6ceb-031ce3e68582@denninger.net> <CAKFCL4WrRS1ic1CZqcmbCEnsrD2pkh4VHPBFyB%2B-3NaNJZ%2BJkw@mail.gmail.com> <1468254746.72182.121.camel@freebsd.org> <f22ab40d-42f0-78a3-d3a7-945387259109@denninger.net> <447fcrdjgj.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms020403070605050607000501
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 7/12/2016 09:22, Lowell Gilbert wrote:
> Karl Denninger <karl@denninger.net> writes:
>
>> Why not force-detach the volume that takes the error instead of a pani=
c()?
>>
>> That would lead to a panic if the detached volume was the system volum=
e
>> (obviously) but for a data volume it would simply result in it being
>> forcibly unmounted (and dirty, so if it's corrupt it will get caught
>> when reattached.)
>>
>> It seems that the current paradigm of saying "screw you, panic the
>> machine" violates the principle of least astonishment and is overly
>> punitive vis-a-vis necessity.  Refusing further I/O because the volume=

>> may now have a corrupt filesystem appears to be facially reasonable, b=
ut
>> that doesn't necessarily wind up being fatal the system itself -- it i=
s
>> if that's the system volume and is not covered by some sort of
>> redundancy, obviously, but it's not in all cases.
> How do you find the processes with pages mapped from the filesystem's
> vnodes? UFS is *very* tightly tied to the VM system, and intentionally
> so. Recall that "umount -f" isn't exactly safe...
> _______________________________________________
You don't.  If you wind up detaching something with open RSS pages (or
worse, page file pages) you're going to take a panic.  So what?  You're
no worse off than you are with what is done now.


--=20
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

--------------ms020403070605050607000501
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC
Bl8wggZbMIIEQ6ADAgECAgEpMA0GCSqGSIb3DQEBCwUAMIGQMQswCQYDVQQGEwJVUzEQMA4G
A1UECBMHRmxvcmlkYTESMBAGA1UEBxMJTmljZXZpbGxlMRkwFwYDVQQKExBDdWRhIFN5c3Rl
bXMgTExDMRwwGgYDVQQDExNDdWRhIFN5c3RlbXMgTExDIENBMSIwIAYJKoZIhvcNAQkBFhND
dWRhIFN5c3RlbXMgTExDIENBMB4XDTE1MDQyMTAyMjE1OVoXDTIwMDQxOTAyMjE1OVowWjEL
MAkGA1UEBhMCVVMxEDAOBgNVBAgTB0Zsb3JpZGExGTAXBgNVBAoTEEN1ZGEgU3lzdGVtcyBM
TEMxHjAcBgNVBAMTFUthcmwgRGVubmluZ2VyIChPQ1NQKTCCAiIwDQYJKoZIhvcNAQEBBQAD
ggIPADCCAgoCggIBALmEWPhAdphrWd4K5VTvE5pxL3blRQPyGF3ApjUjgtavqU1Y8pbI3Byg
XDj2/Uz9Si8XVj/kNbKEjkRh5SsNvx3Fc0oQ1uVjyCq7zC/kctF7yLzQbvWnU4grAPZ3IuAp
3/fFxIVaXpxEdKmyZAVDhk9az+IgHH43rdJRIMzxJ5vqQMb+n2EjadVqiGPbtG9aZEImlq7f
IYDTnKyToi23PAnkPwwT+q1IkI2DTvf2jzWrhLR5DTX0fUYC0nxlHWbjgpiapyJWtR7K2YQO
aevQb/3vN9gSojT2h+cBem7Q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kfG/g8dJ88AAAAAAAA=
--------------ms020403070605050607000501--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c7baaa84-71a6-e535-2621-5aab14032598>