-
tsoome
it should be freshly allocated in arc_write_ready, just before calling abd_copy(). however, as ::whatis is suggesting some of those pointers are actually freed from cache, I kind of fail to see how... of course, if some other thread was poking this arc_buf_hdr ...
-
tsoome
anyhow, its too late here, need to sleep on this:D
-
ryao
tsoome: There were some commits by amotin to OpenZFS recently that might or might not be relevant.
-
ryao
I recall some of the changes involving ensuring done callbacks were properly called. I also vaguely remember a recent PR about reference counts.
-
ryao
Oh. The reference count patch was in the DMU/DSL and was by someone else:
openzfs/zfs d816bc5
-
gitomat
[illumos-gate] 14596 cstyle should allow empty increment with for loop -- Toomas Soome <tsoome⊙mc>
-
jbk
is it me, or is redmine being sluggish?
-
andyf
It is not just you
-
jbk
there it goes...
-
jbk
granted that was a long description
-
jbk
(#15420)
-
jbk
but i thought it might be helpful to show how we got from 'devinfo callers are stuck in the kernel' to 'deadlock between dls and mac'
-
jbk
since it was a bit of a journey
-
jlevon
so many bad memories of that journey
-
andyf
Really nice write up :)
-
andyf
I have just been looking at lock ordering in this area for issue 15167 (fenix)
-
andyf
fenix will no doubt take a while to talk to remine too..
-
andyf
*redmine
-
fenix
BUG 15167: Panic when halting a zone with self-created links (In Progress)
-
fenix
-
jbk
the 'modunload -i 0' in /sbin/rc3 was probably the most 'whaaaa' part of it honestly :)
-
jbk
unfortunately, i'm not entirely sure of how to fix it...
-
sommerfeld
missed the context on the modunload -i 0 but IIRC that's related to reducing kernel footprint after a reconfiguration reboot when all modules get loaded to see if they're needed.
-
tsoome
yep.
-
sommerfeld
ah, it's in #15420
-
sommerfeld
(the context, that is)
-
sommerfeld
and, yes, that's a good writeup.
-
jbk
if there's one thing I took working for joyent, it's a huge appreciation for good bug descriptions
-
jbk
it kinda spoiled me when then getting bug reports that consist wholly of 'xxx is busted' :)
-
jbk
(elsewhere)
-
danmcd
fenix illumos 15420
-
danmcd
fenix illumos#15420
-
fenix
BUG 15420: dls_devnet_destroy can deadlock with link notifications (New)
-
fenix
-
gitomat
[illumos-gate] 15402 Incorrect service name and other errors in the zonestat(1) manual -- Peter Tribble <peter.tribble⊙gc>
-
ryao
jbk: Joyent is not the only place that values good bug descriptions. OpenZFS/ZFSOnLinux values it too. In fact, I learned to write good commit messages and descriptive reports from Brian shortly after I started contributing. There are times when I feel that I am writing excessive amounts of documentation, but so far, I have never once heard someone tell me to write less.
-
ryao
In fact, at the OpenZFS developer summit last year, I mentioned at the bar that I felt that I was writing excessive documentation for changes. I was told to keep doing it. :D
-
sommerfeld
Detailed long-form bug writeups were part of the engineering culture within the part of Sun where I worked and it's good to see that this has carried over in the diaspora...
-
jbk
yeah, i'm sure that came from the various ex-sun people that were there
-
jclulow
jbk: Sorry, redmine has been sluggish. There's a shady web crawler probably related to the TikTok family of companies that is pretending to be an old Android phone. I've just blocked its user agent string. Let me know if it gets sluggish again.
-
ryao
jbk: I remember hearing a talk by Bryan Cantrill that said that it was from Jeff Bonwick.
-
jbk
you definitely appreciate it when you're coming in basically blind to an issue
-
jbk
or are wanting to understand why a change was done
-
ryao
jbk: I appreciated it not that long ago when some dead code made no sense to me. I simply looked up the original rationale for the change and then I realized that the intention had been to make a warning appear less often, but by putting an assignment in the wrong case statement, the patch made it dead code entirely.
-
ryao
-
ryao
That was 5 months ago... it still feels like yesterday for some reason. :/