Page MenuHomeFreeBSD
Feed Advanced Search

Feb 19 2017

smh updated D9668: Support estimated RTT for receive buffer auto resizing.
Feb 19 2017, 1:22 AM
smh retitled D9668: Support estimated RTT for receive buffer auto resizing from to Support estimated RTT for receive buffer auto resizing.
Feb 19 2017, 1:21 AM

Feb 15 2017

smh added a comment to D9611: ZFS ARC: remove TRIM-ing of cache (L2ARC) devices.
In D9611#198637, @avg wrote:

Essentially, L2ARC periodically writes to every block on the device and that allows to physically move the data around.
That's exactly the reason why I think that TRIM is not needed for L2ARC.
TRIM is useful when we don't need data in some area, but we are not going to overwrite that area, so we need to a way to tell the storage system that it can reuse the physical cells without worrying about any data in them. But if we overwrite that area anyway, then the storage system is automatically aware that the data in those physical cells is obsolete. It's free to choose either those same cells or any different cells for the new data according to the wear leveling algorithms, but that's beside the point.

Feb 15 2017, 5:18 PM
smh added a comment to D9611: ZFS ARC: remove TRIM-ing of cache (L2ARC) devices.
In D9611#198616, @avg wrote:

My understanding of how L2ARC writing works is this. The code maintains a "hand" (like a clock hand) that points to a disk offset. At the regular intervals a certain space in front of the hand is freed by discarding L2 headers that point to that space and then new buffers are written to that space. Then the hand is moved forward by the appropriate amount.
There is also some freeing of L2 headers when ARC headers are freed, etc. In any case, after some uptime almost the whole cache disk is usually filled with data. And the hand inevitably moves forward. So, every block gets written over sooner or later. I do not see how TRIM helps in that case.
The only scenario where it makes difference, in my humble opinion, is the scenario that @mav described: a worn out disk where the "cheese holes" behind the hand can make some difference for writing new blocks at the hand. But I think that that's too marginal to be important.

Feb 15 2017, 3:55 PM
smh added a comment to D9611: ZFS ARC: remove TRIM-ing of cache (L2ARC) devices.
In D9611#198582, @mav wrote:
In D9611#198579, @smh wrote:

In scenario #1 the performance of TRIM is also generally good, mitigating the need to avoid doing it.

Is there such thing as good TRIM performance? On my new Samsung 950 NVMe I had to disable TRIM as unusable. Though yes, NVMe driver still probably needs aggregation of TRIM requests to get better numbers.

Feb 15 2017, 3:11 PM
smh added a comment to D9611: ZFS ARC: remove TRIM-ing of cache (L2ARC) devices.

In scenario #1 the performance of TRIM is also generally good, mitigating the need to avoid doing it.

Feb 15 2017, 2:45 PM
smh added a comment to D9611: ZFS ARC: remove TRIM-ing of cache (L2ARC) devices.

This can could excessive slow down as the capacity of the disk is reached, however it could be argued that a better mitigation for L2ARC devices would be to use an under-provisioned slice to ensure the SSD controller always has space to work.

Feb 15 2017, 2:23 PM

Jan 23 2017

smh requested changes to D9165: loader.efi environment related cleanups.
Jan 23 2017, 9:51 AM

Jan 16 2017

smh committed rS312279: MFC r311769:.
MFC r311769:
Jan 16 2017, 9:16 AM
smh committed rS312278: MFC r311769:.
MFC r311769:
Jan 16 2017, 9:13 AM

Jan 11 2017

smh accepted D9144: Use proper prototypes in struct boot_module_t.
Jan 11 2017, 7:50 PM

Jan 9 2017

smh committed rS311769: Fix rstat: symbol not in namelist from netstat.
Fix rstat: symbol not in namelist from netstat
Jan 9 2017, 9:28 AM

Nov 28 2016

smh accepted D7421: reimplement zfsctl (.zfs) support.
Nov 28 2016, 11:41 AM
smh added a comment to D7421: reimplement zfsctl (.zfs) support.

Couple of little style nits and I'd like to understand why ENAMETOOLONG error gets turned into success in a few places.

Nov 28 2016, 9:58 AM

Nov 2 2016

smh accepted D8403: mpr/mps device mapper override.
Nov 2 2016, 9:28 AM

Oct 31 2016

smh requested changes to D8403: mpr/mps device mapper override.

Wouldn't it be better to have 0 (the default) be "use the PhyNum field as a fallback to the mapping logic" as that way at least the device would initialise when mpX_mapping_get_sas_id fails?

Oct 31 2016, 11:10 PM

Aug 15 2016

smh committed rS304112: MFS r304067:.
MFS r304067:
Aug 15 2016, 8:07 AM

Aug 14 2016

smh committed rS304081: MFC r303971:.
MFC r303971:
Aug 14 2016, 3:28 PM
smh committed rS304067: MFC r303971:.
MFC r303971:
Aug 14 2016, 12:40 AM

Aug 11 2016

smh committed rS303971: Fix vtnet hang with max_virtqueue_pairs > VTNET_MAX_QUEUE_PAIRS.
Fix vtnet hang with max_virtqueue_pairs > VTNET_MAX_QUEUE_PAIRS
Aug 11 2016, 9:14 PM

Aug 4 2016

smh added inline comments to D6533: zfs: step #1 of bringing zpl to full obedience of vfs.
Aug 4 2016, 9:32 PM
smh added inline comments to D6533: zfs: step #1 of bringing zpl to full obedience of vfs.
Aug 4 2016, 9:09 PM

Jul 22 2016

smh added a comment to D6533: zfs: step #1 of bringing zpl to full obedience of vfs.

Thanks for attacking this Andriy its a big task which really needed some attention.

Jul 22 2016, 2:31 PM

Jul 13 2016

smh committed rS302714: MFC r302265, r302382.
MFC r302265, r302382
Jul 13 2016, 8:34 AM
smh added a comment to D7201: Retry reading from boot disk if first access fails (HP BIOS bug??).

Apart from the comment this looks good in principle, however I think we need to better understand why retrying the probe works as it feels like where just hiding the real error with this.

Jul 13 2016, 8:19 AM

Jul 11 2016

smh added a comment to D7179: move handling of zvol devices out of txg sync thread.

This looks reasonable however as you say its potentially racey with multiple renames happening.

Jul 11 2016, 1:02 PM

Jul 6 2016

smh committed rS302382: Fix ZFS ARC min / max tunable.
Fix ZFS ARC min / max tunable
Jul 6 2016, 11:49 PM

Jun 29 2016

smh committed rS302265: Allow ZFS ARC min / max to be tuned at runtime.
Allow ZFS ARC min / max to be tuned at runtime
Jun 29 2016, 7:56 AM
smh closed D5907: Allow ZFS ARC min / max to be tuned at runtime by committing rS302265: Allow ZFS ARC min / max to be tuned at runtime.
Jun 29 2016, 7:56 AM

Jun 28 2016

smh added a reviewer for D5907: Allow ZFS ARC min / max to be tuned at runtime: allanjude.
Jun 28 2016, 3:14 PM
smh added inline comments to D5907: Allow ZFS ARC min / max to be tuned at runtime.
Jun 28 2016, 3:14 PM

Jun 14 2016

smh added a comment to D6780: loader.efi try to fallback on first device.

I'd like to know why finding the current device would ever fail?

Jun 14 2016, 2:50 AM

Jun 3 2016

smh accepted D6709: Use the UEFI timer on arm64,the RTC may not be available.
Jun 3 2016, 9:42 PM

Jun 1 2016

smh committed rS301131: Fix tzsetup not installing /etc/localtime for UTC.
Fix tzsetup not installing /etc/localtime for UTC
Jun 1 2016, 3:39 PM

May 9 2016

smh added inline comments to D6153: Speed up vdev_geom_open_by_guids.
May 9 2016, 4:50 PM
smh added inline comments to D6153: Speed up vdev_geom_open_by_guids.
May 9 2016, 9:31 AM

May 5 2016

smh added inline comments to D6153: Speed up vdev_geom_open_by_guids.
May 5 2016, 4:03 PM

Apr 11 2016

smh committed rS297819: Only include sysctl in kernel build.
Only include sysctl in kernel build
Apr 11 2016, 1:17 PM
smh updated the diff for D5907: Allow ZFS ARC min / max to be tuned at runtime.

Remove redundent check on <= 0

Apr 11 2016, 9:12 AM
smh updated the test plan for D5907: Allow ZFS ARC min / max to be tuned at runtime.
Apr 11 2016, 9:11 AM
smh retitled D5907: Allow ZFS ARC min / max to be tuned at runtime from to Allow ZFS ARC min / max to be tuned at runtime.
Apr 11 2016, 9:09 AM
smh committed rS297813: Only include sysctl in kernel build.
Only include sysctl in kernel build
Apr 11 2016, 8:58 AM

Apr 9 2016

smh accepted D5892: zio: align use of "no dump" flag between use_uma and !use_uma cases.

Nice, do you have metrics on the typical dump size increase?

Apr 9 2016, 5:15 PM

Apr 8 2016

smh added a comment to D5413: Fix rare double free in vdev_geom_attrchanged.

This looks like it might leave old data in the zpool.cache?

Apr 8 2016, 3:23 PM

Apr 7 2016

smh accepted D5878: boot1.efifat: provide a fallback startup.nsh.

Seems reasonable to me

Apr 7 2016, 11:09 PM

Mar 21 2016

smh committed rS297125: MFC r296020:.
MFC r296020:
Mar 21 2016, 12:31 AM

Mar 19 2016

smh committed rS297050: MFC r296922:.
MFC r296922:
Mar 19 2016, 11:36 AM

Mar 16 2016

smh committed rS296922: Prevent invalid ixgbe advertise setting warning.
Prevent invalid ixgbe advertise setting warning
Mar 16 2016, 1:42 AM

Mar 10 2016

smh committed rS296631: MFS r296629:.
MFS r296629:
Mar 10 2016, 11:45 PM
smh committed rS296629: MFC r296610:.
MFC r296610:
Mar 10 2016, 11:37 PM

Mar 3 2016

smh committed rS296354: Fix ixl with RSS.
Fix ixl with RSS
Mar 3 2016, 7:50 PM
smh closed D5428: Fix ixl with RSS by committing rS296354: Fix ixl with RSS.
Mar 3 2016, 7:49 PM

Feb 26 2016

smh committed rS296021: Removed unused label and fix mutex_exit order.
Removed unused label and fix mutex_exit order
Feb 26 2016, 11:07 AM
smh committed rS296020: Fix NULL pointer dereferences.
Fix NULL pointer dereferences
Feb 26 2016, 11:07 AM

Feb 25 2016

smh updated the diff for D5428: Fix ixl with RSS.

Missed a few sub indents on the white space fixup.

Feb 25 2016, 1:41 AM
smh updated the diff for D5428: Fix ixl with RSS.

Fix invalid whitespacing (7 spaces instead of tabs)

Feb 25 2016, 1:39 AM
smh updated the diff for D5428: Fix ixl with RSS.

Define and init cpu_id using rss_getcpu.

Feb 25 2016, 1:33 AM
smh updated D5428: Fix ixl with RSS.
Feb 25 2016, 12:29 AM
smh retitled D5428: Fix ixl with RSS from to Fix ixl with RSS.
Feb 25 2016, 12:27 AM

Feb 22 2016

smh accepted D2794: remove emulation of VFS_HOLD and VFS_RELE from opensolaris compat.
Feb 22 2016, 4:27 PM

Feb 20 2016

smh requested changes to D5366: Fix an off-by-one error, d_unit starts at 0..
Feb 20 2016, 7:42 PM
smh accepted D5365: Fix invalid type '(null)' usage messages in zfs(8) and zpool(8).

We should get this up-streamed.

Feb 20 2016, 7:40 PM
smh committed rS295835: MFC r272785:.
MFC r272785:
Feb 20 2016, 10:57 AM

Feb 14 2016

smh committed rP408878: Add MySQL 5.7 symlinks for mysqlclient_r libs.
Add MySQL 5.7 symlinks for mysqlclient_r libs
Feb 14 2016, 6:28 PM

Feb 11 2016

smh committed rS295550: MFC r295320, r295356 (Partial).
MFC r295320, r295356 (Partial)
Feb 11 2016, 10:34 PM
smh committed rS295539: MFC r294768:.
MFC r294768:
Feb 11 2016, 5:58 PM
smh committed rS295538: Fix ia64 build failures in EFI platform.
Fix ia64 build failures in EFI platform
Feb 11 2016, 5:56 PM
smh committed rS295534: MFC r294795.
MFC r294795
Feb 11 2016, 5:35 PM
smh committed rS295531: MFC r295356 (Partial).
MFC r295356 (Partial)
Feb 11 2016, 5:31 PM
smh committed rS295528: MFC r294734, r295093 & r295094 ixgbe fixes.
MFC r294734, r295093 & r295094 ixgbe fixes
Feb 11 2016, 4:54 PM

Feb 8 2016

smh added inline comments to D5223: Implement -P for boot loader..
Feb 8 2016, 10:59 PM
smh updated the diff for D5212: Fix EFI build on ia64.

Restructure Makefile fix to aid future merges as per ngie's suggestion.

Feb 8 2016, 9:06 AM

Feb 6 2016

smh committed rS295356: Fix EFI platform build failures.
Fix EFI platform build failures
Feb 6 2016, 10:01 PM
smh updated the diff for D5212: Fix EFI build on ia64.

Fix pointer cast issue on arm.armeb.

Feb 6 2016, 2:23 PM
smh added inline comments to D5212: Fix EFI build on ia64.
Feb 6 2016, 2:55 AM
smh added a comment to D5212: Fix EFI build on ia64.
In D5212#110873, @ngie wrote:

Was there any change to how the operations need to be done in order to call efi_handle_lookup in the amd64/arm64 case on head with a ZFS root?

Feb 6 2016, 2:54 AM
smh retitled D5212: Fix EFI build on ia64 from to Fix EFI build on ia64.
Feb 6 2016, 12:59 AM

Feb 5 2016

smh committed rS295320: Fix EFI multi device boot support.
Fix EFI multi device boot support
Feb 5 2016, 3:35 PM
smh closed D5108: Improve EFI multi device boot support by committing rS295320: Fix EFI multi device boot support.
Feb 5 2016, 3:35 PM

Feb 3 2016

smh accepted D5117: MFC ixgbe(4) 3.1.13-k.
Feb 3 2016, 4:14 PM

Feb 1 2016

smh added a comment to D5117: MFC ixgbe(4) 3.1.13-k.

Almost there. recomparing with our diff the only remaining missing block is the following which comes from between r283882 and r283883:

Feb 1 2016, 8:21 PM
smh updated the diff for D5108: Improve EFI multi device boot support.

Fix device_paths_match breakage in last diff caused by late check of media type match.

Feb 1 2016, 6:02 PM

Jan 31 2016

smh updated the diff for D5108: Improve EFI multi device boot support.
  • Comment new methods.
  • Fix possible edge case in device_paths_match.
  • Fix failure printf in first path case for load_loader.
  • Small flow optimisation in try_boot.
  • Rename devpath_strncat -> devpath_strlcat to more closely describe its function in terms of standard string functions.
  • Increase devpath_str buffer to 256 as 128 could be could be close.
  • Optimise placement of device_paths_match in probe_handle.
Jan 31 2016, 10:46 PM
smh committed rS295094: Fix ixgbe flow control autoneg reporting.
Fix ixgbe flow control autoneg reporting
Jan 31 2016, 3:18 PM
smh closed D5089: Fix ixgbe flow control autoneg reporting by committing rS295094: Fix ixgbe flow control autoneg reporting.
Jan 31 2016, 3:18 PM
smh committed rS295093: Configure ixgbe phy & gbic power.
Configure ixgbe phy & gbic power
Jan 31 2016, 3:14 PM
smh closed D5107: Configure ixgbe phy & gbic power by committing rS295093: Configure ixgbe phy & gbic power.
Jan 31 2016, 3:14 PM
smh updated the diff for D5108: Improve EFI multi device boot support.
  • Add SATA devpath node decoding
  • Fix and rename msg_path_matches -> device_path_matches
  • Add boot1 imgpath debug
Jan 31 2016, 1:51 PM
smh committed rS295088: MFC r295051:.
MFC r295051:
Jan 31 2016, 2:23 AM
smh updated the diff for D5108: Improve EFI multi device boot support.

Further debugging improvements.

Jan 31 2016, 12:28 AM

Jan 30 2016

smh updated the test plan for D5108: Improve EFI multi device boot support.
Jan 30 2016, 7:03 PM
smh updated the diff for D5108: Improve EFI multi device boot support.

Refactor preferred device so that:

  1. Its sticky for all requests, this ensures that boot.config is loaded from the same device / pool as loader.efi.
  2. Allows UFS only preferred devices to work correctly.
Jan 30 2016, 4:39 PM
smh committed rS295057: Fix clean target for sys/boot/efi.
Fix clean target for sys/boot/efi
Jan 30 2016, 1:27 AM
smh added a comment to D5108: Improve EFI multi device boot support.

@imp with the latest set of improved debugging we should be able to see what's loading from where.

Jan 30 2016, 1:21 AM
smh updated the diff for D5108: Improve EFI multi device boot support.
  • Change boot module loader_path -> filepath to better refect its use.
  • Switch devinfo_t.devpath to store the full path instead of final node to aid debugging.
  • Improve debug and error output.
  • Fix DPRINTF for single argument use.
  • Refactor msgpath calculation into seperate methods.
Jan 30 2016, 1:18 AM
smh added a comment to D5106: Fix phy interrupts setup for ixl.

Committed as: https://svnweb.freebsd.org/changeset/base/295051

Jan 30 2016, 1:16 AM
smh closed D5106: Fix phy interrupts setup for ixl.
Jan 30 2016, 1:15 AM

Jan 29 2016

smh committed rS295051: Fix phy interrupts setup for ixl.
Fix phy interrupts setup for ixl
Jan 29 2016, 9:07 PM
smh added a comment to D5117: MFC ixgbe(4) 3.1.13-k.

I should have captured r285592 in the MFC of driver version 3.1.0 to stable 10. https://svnweb.freebsd.org/base?view=revision&revision=294061

Jan 29 2016, 5:20 PM
smh added a comment to D5108: Improve EFI multi device boot support.
In D5108#108719, @imp wrote:

When I tested this with a USB drive that had a /boot.config with -h and a SATA SSD with a boot.config with -D in it. The sata was fs0: in the uefi shell , while the usb clocked in with fs1. I get identical boot behavior if I type in fs0:\efi\boot\bootx64.efi and fs1:\efi\boot\bootx64.efi. Both of them are dying during boot because there's no /dev/ada0 to satisfy the /etc/fstab I have on the usb drive. If I pull it out, it goes back to booting correctly.

So it appears that we're now finding the loader.efi, but that at least boot1 is still confused a bit. Perhaps my hack for the /boot.config stuff in there needs to be fixed too, since it clearly is finding the loader.efi.

Anything I can do to help debug this?

Jan 29 2016, 4:45 PM