Console View
Tags: Architectures Platforms default |
|
Architectures | Platforms | default | ||||||||||||||||||||
|
|
|
||||||||||||||||||||
наб
nabijaczleweli @nabijaczleweli.xyz |
|
|
|
|||||||||||||||||||
Re-fix -Wwrite-strings on FreeBSD Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Pull-request: #13610 part 1/1 |
||||||||||||||||||||||
Gregory Bartholomew
gregory.lee.bartholomew @gmail.com |
|
|
|
|||||||||||||||||||
contrib: dracut: README.md Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com> Pull-request: #13609 part 1/1 |
||||||||||||||||||||||
|
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Expose ZFS dataset case sensitivity setting via sb_opts Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13607 part 1/1 |
||||||||||||||||||||||
|
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Expose ZFS dataset case sensitivity setting via sb_opts Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13607 part 1/1 |
||||||||||||||||||||||
Alexander Motin
mav @FreeBSD.org |
|
|
|
|||||||||||||||||||
Avoid memory copies during mirror scrub. Issuing several scrub reads for a block we may use the parent ZIO buffer for one of child ZIOs. If that read complete successfully, then we won't need to copy the data explicitly. If block has only one copy (typical for root vdev, which is also a mirror inside), then we never need to copy -- succeed or fail as-is. Previous code also copied data from buffer of every successfully completed child ZIO, but that just does not make any sense. On healthy N-wide mirror this saves all N+1 (or even more in case of ditto blocks) memory copies for each scrubbed block, allowing CPU to focus mostly on check-summing. For other vdev types it should save one memory copy per block copy at root vdev. Signed-off-by: Alexander Motin <mav@FreeBSD.org> Sponsored-By: iXsystems, Inc. Pull-request: #13606 part 1/1 |
||||||||||||||||||||||
Brian Behlendorf
behlendorf1 @llnl.gov |
|
|
|
|||||||||||||||||||
dracut: fix typo in mount-zfs.sh.in Format the `zpool get` command correctly. The -o option must be followed by "all" or the requested field name. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Pull-request: #13602 part 1/1 |
||||||||||||||||||||||
Kristof Provost
kp @FreeBSD.org |
|
|
|
|||||||||||||||||||
FreeBSD: only define B_FALSE/B_TRUE if NEED_SOLARIS_BOOLEAN is not set If NEED_SOLARIS_BOOLEAN is defined we define an enum boolean_t, which defines B_TRUE/B_FALSE as well. If we have both the define and the enum things don't build (because that translates to 'enum { 0, 1 } boolean_t'). While here also remove an incorrect '#else'. With it in place we only parse a section if the include guard is triggered. So we'd only use that code if this file is included twice. This is clearly unintended, and also means we don't get the 'boolean_t' definition. Fix this. Signed-off-by: Kristof Provost <kprovost@netgate.com> Sponsored-By: Rubicon Communications, LLC ("Netgate") Pull-request: #13596 part 1/1 |
||||||||||||||||||||||
Alexander Motin
mav @FreeBSD.org |
|
|
|
|||||||||||||||||||
Avoid extra memory copies during mirror scrub. When several mirror scrub reads complete successfully, we do not need to copy data from each of them into the parent ZIO buffer, the first one is enough. This also moves the memory copy out of the ZIO locks, that I expected to cause contention, though on my system they almost didn't, had incorrect lock order and was partially not needed. When scrubbing 4-way mirror with 1.5TB of 128KB ZVOL blocks, this reduces CPU time spent in memcpy() by 75% and total CPU time by 31%. Signed-off-by: Alexander Motin <mav@FreeBSD.org> Sponsored-By: iXsystems, Inc. Pull-request: #13593 part 1/1 |
||||||||||||||||||||||
Toyam Cox
Vaelatern @voidlinux.org |
|
|
|
|||||||||||||||||||
Fix boot on non-zfs-root systems Simply prevent overwriting root until it needs to be overwritten. Dracut could change this value before this module is called, but won't change the kernel command line. Signed-off-by: Toyam Cox <vaelatern@voidlinux.org> Pull-request: #13592 part 1/1 |
||||||||||||||||||||||
Alexander Motin
mav @FreeBSD.org |
|
|
|
|||||||||||||||||||
Avoid two 64-bit divisions per scanned block. Change math alike to ARC, using multiplications instead. Signed-off-by: Alexander Motin <mav@FreeBSD.org> Sponsored-By: iXsystems, Inc. Pull-request: #13591 part 1/1 |
||||||||||||||||||||||
Andrew J. Hesford
ajh @sideband.org |
|
|
|
|||||||||||||||||||
Dracut module: fix parsing of root= kernel command-line argument Some Dracut modules may read the `root=` kernel command-line argument and rewrite it; in particular, `rootfs-block` installs a command-line hook that to canonicalize arguments that specify block devices. If the `zfs` module is added to an initramfs (which it is, by default, as long as the core ZFS utilities are available) on a system that does not use a ZFS root filesystem, the `zfs` module will overwrite the `root` shell variable with the contents of the kernel command-line in the process of determining if it should control mounting the root. This breaks the initramfs. To solve this problem, only parse the kernel command-line directly if the `root` shell variable is empty; otherwise, rely on the parsing (and possible rewriting) done by other modules. Signed-off-by: Andrew J. Hesford <ajh@sideband.org> Pull-request: #13589 part 1/1 |
||||||||||||||||||||||
yanping.gao
yanping.gao @xtaotech.com |
|
|
|
|||||||||||||||||||
Add parenthesis make it absolutely clear the &= is evaluated first Signed-off-by: yanping.gao <yanping.gao@xtaotech.com> Pull-request: #13581 part 2/2 |
||||||||||||||||||||||
|
||||||||||||||||||||||
yanping.gao
yanping.gao @xtaotech.com |
|
|
|
|||||||||||||||||||
Fix znode group permission different from acl mask Zp->z_mode is set at the same time inode->i_mode is being changed. This has the effect of keeping both in sync without relying on zfs_znode_update_vfs Signed-off-by: yanping.gao <yanping.gao@xtaotech.com> Pull-request: #13581 part 1/1 |
||||||||||||||||||||||
Alexander Motin
mav @FreeBSD.org |
|
|
|
|||||||||||||||||||
Fix and disable blocks statistics during scrub. Block statistics calculation during scrub I/O issue in case of sorted scrub accounted ditto blocks several times. Embedded blocks on other side were not accounted at all. This change moves the accounting from issue to scan stage, that fixes both problems and also allows to avoid pool-wide locking and the lock contention it created. Since this statistics is quite specific and is not even exposed now anywhere, disable its calculation by default to not waste CPU time. Signed-off-by: Alexander Motin <mav@FreeBSD.org> Sponsored-By: iXsystems, Inc. Pull-request: #13579 part 1/1 |
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Add createtxg sort support for simple snapshot iterator - When iterating snapshots with name only, e.g., "-o name -s name", libzfs uses simple snapshot iterator and results are displayed in alphabetic order. This PR adds support for faster version of createtxg sort by avoiding nvlist parsing for properties. Flags "-o name -s createtxg" will enable createtxg sort while using simple snapshot iterator. - Added support to read createtxg property directly from zfs handle for filesystem, volume and snapshot types instead of parsing nvlist. Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13577 part 1/1 |
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Add createtxg sort support for simple snapshot iterator and allow the createtxg property to read from zfs handle. - When iterating snapshots with name only, e.g., "-o name -s name", libzfs uses simple snapshot iterator and results are displayed in alphabetic order. This PR adds support for faster version of createtxg sort by avoiding nvlist parsing for properties. Flags "-o name -s createtxg" will enable createtxg sort while using simple snapshot iterator. - Added support to read createtxg property directly from zfs handle for filesystem, volume and snapshot types instead of parsing nvlist. Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13577 part 1/1 |
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Merge branch 'master' of https://github.com/openzfs/zfs into NAS-116736 Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13577 part 2/2 |
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Add support for createtxg sort for simple snapshot iterator When iterating snapshots with name only, e.g., "-o name -s name", libzfs uses simple snapshot iterator and results are displayed in alphabetic order. This PR adds support for faster version of createtxg sort by avoiding nvlist parsing for properties. Flags "-o name -s createtxg" will enable createtxg sort while using simple snapshot iterator. Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13577 part 1/2 |
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Merge branch 'master' of https://github.com/openzfs/zfs into NAS-116736 Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13577 part 2/2 |
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Add support for createtxg sort for simple snapshot iterator When iterating snapshots with name only, e.g., "-o name -s name", libzfs uses simple snapshot iterator and results are displayed in alphabetic order. This PR adds support for faster version of createtxg sort by avoiding nvlist parsing for properties. Flags "-o name -s createtxg" will enable createtxg sort while using simple snapshot iterator. Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13577 part 1/2 |
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Merge branch 'master' of https://github.com/openzfs/zfs into NAS-116736 Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13577 part 2/2 |
||||||||||||||||||||||
|
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Add support for createtxg sort for simple snapshot iterator When iterating snapshots with name only, e.g., "-o name -s name", libzfs uses simple snapshot iterator and results are displayed in alphabetic order. This PR adds support for faster version of createtxg sort by avoiding nvlist parsing for properties. Flags "-o name -s createtxg" will enable createtxg sort while using simple snapshot iterator. Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13577 part 1/1 |
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Add support for createtxg sort for simple snapshot iterator When iterating snapshots with name only, e.g., "-o name -s name", libzfs uses simple snapshot iterator and results are displayed in alphabetic order. This PR adds support for faster version of createtxg sort by avoiding nvlist parsing for properties. Flags "-o name -s createtxg" will enable createtxg sort while using simple snapshot iterator. Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13577 part 1/1 |
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Add support for createtxg sort for simple snapshot iterator When iterating snapshots with name only, e.g., "-o name -s name", libzfs uses simple snapshot iterator and results are displayed in alphabetic order. This PR adds support for faster version of createtxg sort by avoiding nvlist parsing for properties. Flags "-o name -s createtxg" will enable createtxg sort while using simple snapshot iterator. Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13577 part 1/1 |
||||||||||||||||||||||
|
||||||||||||||||||||||
Ameer Hamza
ahamza @ixsystems.com |
|
|
|
|||||||||||||||||||
Add support for createtxg sort for simple snapshot iterator When iterating snapshots with name only, e.g., "-o name -s name", libzfs uses simple snapshot iterator and results are displayed in alphabetic order. This PR adds support for faster version of createtxg sort by avoiding nvlist parsing for properties. Flags "-o name -s createtxg" will enable createtxg sort while using simple snapshot iterator. Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Pull-request: #13577 part 1/1 |
||||||||||||||||||||||
Brian Behlendorf
behlendorf1 @llnl.gov |
|
|
|
|||||||||||||||||||
Fix objtool: missing int3 after ret warning Resolve straight-line speculation warnings reported by objtool for x86_64 assembly on Linux when CONFIG_SLS is set. See the following LWN article for the complete details. https://lwn.net/Articles/877845/ Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Pull-request: #13575 part 9/9 |
||||||||||||||||||||||
Brian Behlendorf
behlendorf1 @llnl.gov |
|
|
|
|||||||||||||||||||
Fix objtool: missing int3 after ret warning Resolve straight-line speculation warnings reported by objtool for x86_64 assembly on Linux when CONFIG_SLS is set. See the following LWN article for the complete details. https://lwn.net/Articles/877845/ Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Pull-request: #13575 part 9/9 |
||||||||||||||||||||||
Brian Behlendorf
behlendorf1 @llnl.gov |
|
|
|
|||||||||||||||||||
Fix objtool: missing int3 after ret warning Resolve straight-line speculation warnings reported by objtool for x86_64 assembly on Linux when CONFIG_SLS is set. See the following LWN article for the complete details. https://lwn.net/Articles/877845/ Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Pull-request: #13575 part 9/9 |
||||||||||||||||||||||
|
||||||||||||||||||||||
Brian Behlendorf
behlendorf1 @llnl.gov |
|
|
|
|||||||||||||||||||
Fix objtool: missing int3 after ret warning Resolve straight-line speculation warnings reported by objtool for x86_64 assembly on Linux when CONFIG_SLS is set. See the following LWN article for the complete details. https://lwn.net/Articles/877845/ Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Pull-request: #13575 part 9/9 |
||||||||||||||||||||||
|
||||||||||||||||||||||
Tony Hutter
hutter2 @llnl.gov |
|
|
|
|||||||||||||||||||
Just testing buildbot, please ignore Signed-off-by: Tony Hutter <hutter2@llnl.gov> Pull-request: #13402 part 1/1 |
||||||||||||||||||||||
наб
nabijaczleweli @nabijaczleweli.xyz |
|
|
|
|||||||||||||||||||
module: lua: ldo: fix pragma name /home/nabijaczleweli/store/code/zfs/module/lua/ldo.c:175:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas] 175 | #pragma GCC diagnostic ignored "-Winfinite-recursion"a | ^~~~~~~~~~~~~~~~~~~~~~ Fixes: a6e8113fed8a508ffda13cf1c4d8da99a4e8133a ("Silence -Winfinite-recursion warning in luaD_throw()") Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Pull-request: #13348 part 5/5 |
||||||||||||||||||||||
наб
nabijaczleweli @nabijaczleweli.xyz |
|
|
|
|||||||||||||||||||
linux: libzfs: util: don't fallthrough to to end-of-switch lib/libzfs/os/linux/libzfs_util_os.c:262:3: error: fallthrough annotation does not directly precede switch label zfs_fallthrough; ^ ./lib/libspl/include/sys/feature_tests.h:34:26: note: expanded from macro 'zfs_fallthrough' Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Pull-request: #13348 part 4/5 |
||||||||||||||||||||||
наб
nabijaczleweli @nabijaczleweli.xyz |
|
|
|
|||||||||||||||||||
tests: modernise zdb_decompress Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Pull-request: #13348 part 3/5 |
||||||||||||||||||||||
наб
nabijaczleweli @nabijaczleweli.xyz |
|
|
|
|||||||||||||||||||
Remaining {=> const} char|void *tag Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Pull-request: #13348 part 2/5 |
||||||||||||||||||||||
наб
nabijaczleweli @nabijaczleweli.xyz |
|
|
|
|||||||||||||||||||
-Wwrite-strings Also, fix leak from ztest_global_vars_to_zdb_args() Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Pull-request: #13348 part 1/5 |
||||||||||||||||||||||
Alan Somers
asomers @gmail.com |
|
|
|
|||||||||||||||||||
Add a "zstream decompress" subcommand It can be used to repair a ZFS file system corrupted by ZFS bug 12762. Use it like this: zfs send -c <DS> | \ zstream decompress <OBJECT>,<OFFSET>[,<COMPRESSION_ALGO>] ... | \ zfs recv <DST_DS> Workaround for #12762 Sponsored-by: Axcient Signed-off-by: Alan Somers <asomers@gmail.com> Pull-request: #13256 part 1/1 |
||||||||||||||||||||||
George Amanakis
gamanakis @gmail.com |
|
|
|
|||||||||||||||||||
Teach zpool scrub to scrub only block in error log Added a flag -e in zpool scrub to scrub only blocks in error log. A user can pause, resume and cancel the error scrub by passing additional command line arguments -p -s just like a regular scrub. This involves adding a new flag, creating new libzfs interfaces, a new ioctl, and the actual iteration and read-issuing logic. Error scrubbing is executed in multiple txg to make sure pool performance is not affected. Co-authored-by: TulsiJain tulsi.jain@delphix.com Signed-off-by: George Amanakis <gamanakis@gmail.com> Pull-request: #12355 part 1/1 |
||||||||||||||||||||||
George Amanakis
gamanakis @gmail.com |
|
|
|
|||||||||||||||||||
Teach zpool scrub to scrub only block in error log Added a flag -e in zpool scrub to scrub only blocks in error log. A user can pause, resume and cancel the error scrub by passing additional command line arguments -p -s just like a regular scrub. This involves adding a new flag, creating new libzfs interfaces, a new ioctl, and the actual iteration and read-issuing logic. Error scrubbing is executed in multiple txg to make sure pool performance is not affected. Co-authored-by: TulsiJain tulsi.jain@delphix.com Signed-off-by: George Amanakis <gamanakis@gmail.com> Pull-request: #12355 part 1/1 |
||||||||||||||||||||||