Date: Sun, 26 Oct 2014 17:27:00 +0000 From: Steven Hartland <killing@multiplay.co.uk> To: Guido Falsi <mad@madpilot.net>, freebsd-fs@freebsd.org Subject: Re: panic: detach with active requests on 10.1-RC3 Message-ID: <544D2EE4.6010809@multiplay.co.uk> In-Reply-To: <544D1A3E.5000000@madpilot.net> References: <544A538F.6060202@FreeBSD.org> <544BBB85.2020909@madpilot.net> <544BC990.4030700@madpilot.net> <544CC4D4.7040203@FreeBSD.org> <544D137A.7010006@multiplay.co.uk> <544D1A3E.5000000@madpilot.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------020309030106010303040409 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 26/10/2014 15:58, Guido Falsi wrote: > >>> I bisected commits and finally found out this happens starting with >>> r268815, which MFCed r268205. >>> >>> It is related to trim support, in fact disabling trim on the filesystm >>> "fixes" it. >>> >>> I filed bug #194606 on bugzilla [1] to further track this issue, if >>> anyone is interested. >>> >>> [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194606 >> Nice work Guido, can you try the attached patch and see if that fixes it >> please? > Sure, I'll report back ASAP Actually looks like the fix requires more changes than I first thought, updated patch attached. Regards Steve --------------020309030106010303040409 Content-Type: text/plain; charset=windows-1252; name="cf_erase.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="cf_erase.patch" SW5kZXg6IHN5cy9jYW0vYXRhL2F0YV9kYS5jCj09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHN5cy9jYW0v YXRhL2F0YV9kYS5jCShyZXZpc2lvbiAyNzMxNTcpCisrKyBzeXMvY2FtL2F0YS9hdGFfZGEu Ywkod29ya2luZyBjb3B5KQpAQCAtMTQ2Nyw5ICsxNDY3LDE1IEBAIGFkYV9kc210cmltKHN0 cnVjdCBhZGFfc29mdGMgKnNvZnRjLCBzdHJ1Y3QgYmlvICpiCiBzdGF0aWMgdm9pZAogYWRh X2NmYWVyYXNlKHN0cnVjdCBhZGFfc29mdGMgKnNvZnRjLCBzdHJ1Y3QgYmlvICpicCwgc3Ry dWN0IGNjYl9hdGFpbyAqYXRhaW8pCiB7CisJc3RydWN0IHRyaW1fcmVxdWVzdCAqcmVxID0g JnNvZnRjLT50cmltX3JlcTsKIAl1aW50NjRfdCBsYmEgPSBicC0+YmlvX3BibGtubzsKIAl1 aW50MTZfdCBjb3VudCA9IGJwLT5iaW9fYmNvdW50IC8gc29mdGMtPnBhcmFtcy5zZWNzaXpl OwogCisJYnplcm8ocmVxLCBzaXplb2YoKnJlcSkpOworCVRBSUxRX0lOSVQoJnJlcS0+YnBz KTsKKwliaW9xX3JlbW92ZSgmc29mdGMtPnRyaW1fcXVldWUsIGJwKTsKKwlUQUlMUV9JTlNF UlRfVEFJTCgmcmVxLT5icHMsIGJwLCBiaW9fcXVldWUpOworCiAJY2FtX2ZpbGxfYXRhaW8o YXRhaW8sCiAJICAgIGFkYV9yZXRyeV9jb3VudCwKIAkgICAgYWRhZG9uZSwK --------------020309030106010303040409--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?544D2EE4.6010809>