[Midnightbsd-cvs] [MidnightBSD/src] cb479c: Add missing STAILQ_INIT() in ciss_disable_adapter().

Lucas Holt noreply at github.com
Thu Nov 19 15:00:09 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: cb479c2ada53051a6e6557c2e46245bcb4e98560
      https://github.com/MidnightBSD/src/commit/cb479c2ada53051a6e6557c2e46245bcb4e98560
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-19 (Thu, 19 Nov 2020)

  Changed paths:
    M sys/dev/ciss/ciss.c

  Log Message:
  -----------
  Add missing STAILQ_INIT() in ciss_disable_adapter().

I think it should fix reported panic after "ADAPTER HEARTBEAT FAILED".


  Commit: 176ef42677ae7c04feef3716b500f26f7ad3dd49
      https://github.com/MidnightBSD/src/commit/176ef42677ae7c04feef3716b500f26f7ad3dd49
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-19 (Thu, 19 Nov 2020)

  Changed paths:
    M cddl/contrib/opensolaris/cmd/ztest/ztest.c
    M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zil.h
    M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zil_impl.h
    M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c
    M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c
    M sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c

  Log Message:
  -----------
   make zil max block size tunable
|
|We've observed that on some highly fragmented pools, most metaslab
|allocations are small (~2-8KB), but there are some large, 128K
|allocations.  The large allocations are for ZIL blocks.  If there is a
|lot of fragmentation, the large allocations can be hard to satisfy.
|
|The most common impact of this is that we need to check (and thus load)
|lots of metaslabs from the ZIL allocation code path, causing sync writes
|to wait for metaslabs to load, which can take a second or more.  In the
|worst case, we may not be able to satisfy the allocation, in which case
|the ZIL will resort to txg_wait_synced() to ensure the change is on
|disk.
|
|To provide a workaround for this, this change adds a tunable that can
|reduce the size of ZIL blocks.


Compare: https://github.com/MidnightBSD/src/compare/0b130793177a...176ef42677ae


More information about the Midnightbsd-cvs mailing list