Page MenuHomeFreeBSD
Feed Advanced Search

Jun 1 2018

imp accepted D15592: Avoid completing non-dump I/O requests after a panic..

I like this a lot better. I can't think of any special case I/O we'd need to make an exception on. All the normal commands are what you'd want to block. The abnormal ones are things like FD_FORMAT which will screw things up, but completing the command won't screw them up worse, so that's good. The BIO_ZONE stuff is done via ioctls which won't screw up if we don't complete it. I'd like it if we could allow some clients complete and others be blocked, but that's somewhat beyond the scope.

Jun 1 2018, 3:08 AM

May 31 2018

imp added inline comments to D15211: Add uefisign and friends to MK_EFI.
May 31 2018, 6:56 PM
imp added a comment to D15596: Update assert(3) DESCRIPTION section regards its usage..

Dang, sorry I stepped on this review with my commit. I missed it somehow. Glad you liked mine better, but I would have coordinated had I noticed this before now.

May 31 2018, 2:47 PM
imp committed rS334431: Depart from normal man page proactice a little and provide guidance on.
Depart from normal man page proactice a little and provide guidance on
May 31 2018, 2:23 PM
imp accepted D15628: Fix build of `stand/` with base gcc.

These look good. Sorry for my screw up on the review number.

May 31 2018, 1:54 PM
imp added a comment to D15628: Fix build of `stand/` with base gcc.
In D15628#330215, @dim wrote:
  • Use -march=i386 instead of -mcpu=i386 in defs.mk. The gcc documentation states that -mcpu is a deprecated synonym for -mtune, but -mtune does not prevent instructions "higher" than i386, it merely tunes for them.
May 31 2018, 1:49 PM
imp closed D15624: Fix devinfo to not truncate pnpinfo.

This was committed as r334413-r334416 which were tagged with the wrong review number.

May 31 2018, 3:02 AM
imp accepted D15624: Fix devinfo to not truncate pnpinfo.
May 31 2018, 3:01 AM
imp added a comment to D15628: Fix build of `stand/` with base gcc.

I'm sorry, but it looks like my change replaced this review...

May 31 2018, 3:00 AM
imp reopened D15628: Fix build of `stand/` with base gcc.

wrong review

May 31 2018, 3:00 AM
imp committed rS334416: Note the need for a new kernel / userland for devinfo to work.
Note the need for a new kernel / userland for devinfo to work
May 31 2018, 2:58 AM
imp closed D15628: Fix build of `stand/` with base gcc.
May 31 2018, 2:58 AM
imp committed rS334415: Update to device enumeration protocol 2.
Update to device enumeration protocol 2
May 31 2018, 2:58 AM
imp committed rS334414: Make the data returned by devinfo harder to overflow..
Make the data returned by devinfo harder to overflow.
May 31 2018, 2:58 AM
imp committed rS334413: Sanity check the return from the kernel..
Sanity check the return from the kernel.
May 31 2018, 2:58 AM
imp committed rS334412: Pass a struct devdesc to the format commands. Use proper type rather.
Pass a struct devdesc to the format commands. Use proper type rather
May 31 2018, 2:54 AM
imp closed D15629: Pass a struct devdesc to the format commands. Use proper type rather than doing weird type-punning that happened to work because the size was right :(.
May 31 2018, 2:54 AM
imp added a comment to D15592: Avoid completing non-dump I/O requests after a panic..
In D15592#330118, @mav wrote:

I can't say that I like it, but it makes sense to me.

Proposed biodone() to me sounds like too high level to handle this, since GEOM transformations can be complicated enough to corrupt the system state. Plus some code like ZFS may not use it at all.

May 31 2018, 2:42 AM

May 30 2018

imp added inline comments to D15628: Fix build of `stand/` with base gcc.
May 30 2018, 9:33 PM
imp updated the diff for D15629: Pass a struct devdesc to the format commands. Use proper type rather than doing weird type-punning that happened to work because the size was right :(.

update.

May 30 2018, 9:05 PM
imp created D15629: Pass a struct devdesc to the format commands. Use proper type rather than doing weird type-punning that happened to work because the size was right :(.
May 30 2018, 8:59 PM
imp added inline comments to D15628: Fix build of `stand/` with base gcc.
May 30 2018, 8:43 PM
imp added inline comments to D15628: Fix build of `stand/` with base gcc.
May 30 2018, 8:36 PM
imp added inline comments to D15628: Fix build of `stand/` with base gcc.
May 30 2018, 8:31 PM
imp added inline comments to D15628: Fix build of `stand/` with base gcc.
May 30 2018, 8:30 PM
imp added a comment to D15211: Add uefisign and friends to MK_EFI.

No, we've always just used efiFOO for the efi programs.

May 30 2018, 8:19 PM
imp created D15624: Fix devinfo to not truncate pnpinfo.
May 30 2018, 7:48 PM
imp committed rS334384: devinfo_init() returns an errno, but doesn't set errno, so the error.
devinfo_init() returns an errno, but doesn't set errno, so the error
May 30 2018, 3:09 PM
imp committed rS334383: There's no meaningful errno when there's a version mismatch, so use.
There's no meaningful errno when there's a version mismatch, so use
May 30 2018, 3:09 PM
imp committed rS334373: We've removed the special case code for upgrading from FreeBSD 9 so.
We've removed the special case code for upgrading from FreeBSD 9 so
May 30 2018, 5:00 AM
imp added a comment to D15592: Avoid completing non-dump I/O requests after a panic..

So I'm still uneasy about this.

May 30 2018, 2:40 AM

May 29 2018

imp added a reviewer for D15592: Avoid completing non-dump I/O requests after a panic.: scottl.
May 29 2018, 8:46 PM
imp added inline comments to D15592: Avoid completing non-dump I/O requests after a panic..
May 29 2018, 8:44 PM
imp added a comment to D15599: switch amd64 memstick installer images to MBR.

The concern I have for UEFI + MBR is one of FreeBSD support, not BIOS support. There are some places that assume GPT partitioning, though that may be just in the efibootmgr code which just sets boot efi variables.

May 29 2018, 2:45 PM
imp accepted D15599: switch amd64 memstick installer images to MBR.
May 29 2018, 2:44 PM
imp committed rS334310: Teach ufs_module.c about bsd labels and probe 'a' partition..
Teach ufs_module.c about bsd labels and probe 'a' partition.
May 29 2018, 3:58 AM
imp closed D15598: Teach ufs_module.c about bsd partitions, at least a little..
May 29 2018, 3:58 AM
imp added inline comments to D15452: Update LinuxKPI to 4.15 .
May 29 2018, 3:33 AM

May 28 2018

imp updated the diff for D15598: Teach ufs_module.c about bsd partitions, at least a little..

Multiple disks require that we don't use globals.

May 28 2018, 7:08 PM
imp added a comment to D15598: Teach ufs_module.c about bsd partitions, at least a little..

Updated to address comments

May 28 2018, 5:08 PM
imp updated the diff for D15598: Teach ufs_module.c about bsd partitions, at least a little..

Better comment about GPT case

May 28 2018, 5:08 PM
imp updated the diff for D15598: Teach ufs_module.c about bsd partitions, at least a little..

Address Ed's comments

May 28 2018, 5:07 PM
imp added reviewers for D15598: Teach ufs_module.c about bsd partitions, at least a little.: emaste, tsoome.
May 28 2018, 4:37 PM
imp updated the diff for D15598: Teach ufs_module.c about bsd partitions, at least a little..

Doh! blocks, not bytes, for this arg.

May 28 2018, 4:35 PM
imp created D15598: Teach ufs_module.c about bsd partitions, at least a little..
May 28 2018, 4:31 PM
imp accepted D15594: Update strsetp(3) EXAMPLE section..

Thanks for doing this...

May 28 2018, 4:52 AM
imp added inline comments to D15592: Avoid completing non-dump I/O requests after a panic..
May 28 2018, 4:48 AM
imp added inline comments to D15592: Avoid completing non-dump I/O requests after a panic..
May 28 2018, 4:27 AM

May 27 2018

imp accepted D15590: Remove include/sys/dev/lmc from mtree.

Do we also need an entry in ObsoleteFiles.inc?

May 27 2018, 7:17 PM

May 26 2018

imp added a comment to D15583: Mmap device BAR into userspace..

Generally, I like this. It mirrors efforts to have userland drivers. The only area I see missing after this is interrupt delivery to userland processes.

May 26 2018, 4:54 PM
imp added inline comments to D15481: Create a default wlan for wireless NICs if no wlans are specified..
May 26 2018, 12:08 AM

May 25 2018

imp accepted D15569: Fix building GENERIC-MMCCAM on arm64.
May 25 2018, 3:26 PM · arm64
imp added inline comments to D15566: Make opal_pci driver work with POWER9.
May 25 2018, 4:04 AM
imp accepted D15552: add support for console resuming, implement it for uart, use on x86.

This looks good.

May 25 2018, 2:21 AM

May 24 2018

imp committed rS334192: Protect bzero call against macro expansion.
Protect bzero call against macro expansion
May 24 2018, 11:20 PM
imp committed rS334184: This is no unreferenced, so retire it..
This is no unreferenced, so retire it.
May 24 2018, 9:11 PM
imp committed rS334183: Make memmove and bcopy share code.
Make memmove and bcopy share code
May 24 2018, 9:11 PM
imp committed rS334182: Define memmove and make bcopy alt entry point.
Define memmove and make bcopy alt entry point
May 24 2018, 9:11 PM
imp committed rS334181: Make memmove an alias for memcpy.
Make memmove an alias for memcpy
May 24 2018, 9:11 PM
imp closed D15374: Various rearrangements to make memmove a first class citizen.
May 24 2018, 9:11 PM
imp added a comment to D15374: Various rearrangements to make memmove a first class citizen.

I've considered Marius' suggestion. I reject it. memmove is now a first class citizen. If you'd like to make it even better, you are welcome to do so after this commit.

May 24 2018, 9:11 PM
imp committed rS334166: We can't release the refcount outside of the periph lock..
We can't release the refcount outside of the periph lock.
May 24 2018, 4:31 PM
imp closed D15517: We can't release the refcount outside of the periph lock..
May 24 2018, 4:31 PM

May 23 2018

imp added a comment to D15526: reduce overhead of entropy collection.

We only need to generate about 8 bytes of entropy per second total for the spiking of the algorithms...

May 23 2018, 1:38 AM

May 22 2018

imp added a comment to D15517: We can't release the refcount outside of the periph lock..
In D15517#327757, @mav wrote:

Looks good to me. The only rough edge I see is that outstanding_cmds is used only for the newly added assertion, that is why it was so broken before this and nobody cared.

May 22 2018, 8:45 PM
imp abandoned D15453: Make reference counting more robust.

OK. So it looked easy...

May 22 2018, 5:41 PM
imp added a reviewer for D15517: We can't release the refcount outside of the periph lock.: mav.
May 22 2018, 5:38 PM
imp updated the diff for D15517: We can't release the refcount outside of the periph lock..

doh! no, with invariants

May 22 2018, 5:36 PM
imp updated the diff for D15517: We can't release the refcount outside of the periph lock..

doh! compile with invariants

May 22 2018, 5:34 PM
imp accepted D12762: Implement initial MMC partitions support for MMCCAM.
May 22 2018, 4:52 PM · ARM
imp accepted D15521: Fix MMCCAM scanning for new cards.
May 22 2018, 3:44 PM · ARM
imp added a comment to D15521: Fix MMCCAM scanning for new cards.

I agree. Comment says this was from nvme_scan_lun, and it uses path here not periph->path.

May 22 2018, 3:43 PM · ARM

May 21 2018

imp updated the diff for D15517: We can't release the refcount outside of the periph lock..

Regroup

May 21 2018, 11:37 PM
imp updated the diff for D15517: We can't release the refcount outside of the periph lock..

fix bogus mdastart -> ndastart

May 21 2018, 11:11 PM
imp updated the diff for D15517: We can't release the refcount outside of the periph lock..

Fix missed part of the patch

May 21 2018, 11:09 PM
imp created D15517: We can't release the refcount outside of the periph lock..
May 21 2018, 11:06 PM
imp added inline comments to D15514: Clarify in unlink(1) that like rm, unlink too requires "--".
May 21 2018, 10:18 PM

May 20 2018

imp committed rD51669: Fix preferred license..
Fix preferred license.
May 20 2018, 3:01 AM

May 19 2018

imp committed rS333880: Restore the all rights reserved language. Put it on each of the prior.
Restore the all rights reserved language. Put it on each of the prior
May 19 2018, 5:30 PM

May 18 2018

imp added a comment to D15483: More bcmp "optimization".

I have a straw-man patch that does some of what mjg is talking about. It doesn't remove the b* functions though. It's not quite ready for sharing, though if there's interest i'll polish up enough to publish.

May 18 2018, 7:56 PM
imp accepted D15476: Quiesce build errors with cast to u_int8_t.
May 18 2018, 5:15 PM
imp added inline comments to D15476: Quiesce build errors with cast to u_int8_t.
May 18 2018, 5:05 PM
imp committed rS333798: Based on multiple sources including the State Gazette the last day of.
Based on multiple sources including the State Gazette the last day of
May 18 2018, 4:20 PM
imp added inline comments to D15473: Add on bhyverun a new option '-B' that gives the capability to change the smbios table type1 using an ucl based configuration file..
May 18 2018, 4:10 PM

May 17 2018

imp accepted D15467: Use strsep() to parse init_path in start_init()..

OK. Can't find anything else to argue with :)

May 17 2018, 10:49 PM
imp accepted D15467: Use strsep() to parse init_path in start_init()..

Despite a couple grumbles, this looks good to my eye.

May 17 2018, 9:45 PM

May 16 2018

imp committed rS333688: 2018 this time..
2018 this time.
May 16 2018, 9:07 PM
imp added a reviewer for D15456: change ffs_blkfree() trim to not bypass geom_vfs, avoids panics: mav.
May 16 2018, 7:33 PM
imp accepted D15456: change ffs_blkfree() trim to not bypass geom_vfs, avoids panics.

We can change to M_TRIM when Kirk commits his stuff :)

May 16 2018, 7:32 PM
imp updated the test plan for D15453: Make reference counting more robust.
May 16 2018, 7:30 PM
imp created D15453: Make reference counting more robust.
May 16 2018, 3:50 PM
imp committed rS333675: Add note about LD=ld.lld being a temporary requirement when building.
Add note about LD=ld.lld being a temporary requirement when building
May 16 2018, 1:52 PM
imp committed rS333673: MFC r333436: only launch getty if underlying device exists.
MFC r333436: only launch getty if underlying device exists
May 16 2018, 1:18 PM

May 15 2018

imp committed rS333651: Hold the reference count until the CCB is released.
Hold the reference count until the CCB is released
May 15 2018, 10:22 PM
imp closed D15435: expand scope of da refcount to protect I/Os in flight.
May 15 2018, 9:25 PM
imp committed rS333648: Hold the reference count until the CCB is released.
Hold the reference count until the CCB is released
May 15 2018, 9:25 PM
imp added a comment to D15430: make unix socket locking finer grained.

I want to point out that the lack of code formatting tool like clang-format resulted in @markj spending some of his precious cycles reviewing not the substance of the patch, but instead commenting on style nits (correct according to style(9) - thank you @markj).

Using brain power for code formatting is the modern-day equivalent to creating fire by rubbing two sticks together instead of using a match/lighter. My comment isn't directed at anyone in particular, but is an observation from watching and participating in reviews in FreeBSD (vs other repos and orgs in my daily patch review queue where the review process is nearly 100% focused on the substance of the patch and not various nits that are caught by linting tools and formatters). I apologize if this sounds flippant, that is not my intent. I'm excited to see changes like these land but wish the friction of style(9) were obviated through modern tooling. This isn't a new comment to most on this review but I wanted to vent a little feedback.

May 15 2018, 5:12 PM
imp accepted D15442: Retire vxge(4).

This approval is for a 'looks like you got it all and did the removal properly' aspect of this review.
I personally agree we should have removed this a while ago.

May 15 2018, 4:29 PM

May 14 2018

imp accepted D15435: expand scope of da refcount to protect I/Os in flight.

Looks good to me. One tiny question that occurred to me after I looked at it this morning. I think we're fine delaying the close for up to a tick so we don't have to try to send a bunch of wake ups during normal operation. Also did the obligatory lock check, and we're good there as well: refcount is only changed while holding the periph lock, and cam_periph_sleep uses the same lock to sleep on.

May 14 2018, 8:34 PM
imp accepted D15415: [New Port] sysutils/dwatch-pwsnoop.

This looks good to my eye. I'd give mat@ 24 hours to opine on your changes in response to his comments.

May 14 2018, 12:24 AM