RE: svn commit: r328554 - head/sys/cam/scsi

2018-03-12 Thread Dexuan Cui via svn-src-head
lt;dexuan@gmail.com> Cc: Warner Losh <i...@freebsd.org>; src-committers <src-committ...@freebsd.org>; svn-src-...@freebsd.org; svn-src-head@freebsd.org; Dexuan Cui <de...@microsoft.com> Subject: Re: svn commit: r328554 - head/sys/cam/scsi This sender failed our fraud detec

Re: svn commit: r328554 - head/sys/cam/scsi

2018-03-12 Thread Warner Losh
I think this is a good idea to MFC. We've had no reports of it causing issues. There's more extensive locking changes / tweaks needed for da that just went in that likely should also be MFC'd. Warner On Sun, Mar 11, 2018 at 9:17 PM, Dexuan-BSD Cui wrote: > Hi imp and

Re: svn commit: r328554 - head/sys/cam/scsi

2018-03-11 Thread Dexuan-BSD Cui
Hi imp and all, I think this patch is very important, because it can fix a panic I noticed recently when I try to hot-remove a SCSI disk from a VM running on Azure/Hyper-V. The panic is almost 100% reproducible with stable/11, but not in the latest CURRENT code, so finally I identified this fix

svn commit: r328554 - head/sys/cam/scsi

2018-01-29 Thread Warner Losh
Author: imp Date: Mon Jan 29 18:07:14 2018 New Revision: 328554 URL: https://svnweb.freebsd.org/changeset/base/328554 Log: Do the book-keeping on release before we release the reference. The periph was going away on final release, and then returning and we started dancing in free memory.