| c0221213 | 03-Apr-2022 |
Xin LI <[email protected]> |
sys/contrib/zlib: Always define Z_U8 and Z_U4
This is a temporary hack for zlib to make sure that the library still builds when building with Z_SOLO (used in kernel and loader), as zlib is depending
sys/contrib/zlib: Always define Z_U8 and Z_U4
This is a temporary hack for zlib to make sure that the library still builds when building with Z_SOLO (used in kernel and loader), as zlib is depending on limits.h which is only available in STDC case.
PR: kern/262977 MFC after: 3 days
(cherry picked from commit 0a21252adf11f7e839eabeb530e75cd1f9cd5386)
Approved by: re (gjb, early MFC)
(cherry picked from commit 9587a10b420f9ef243f578b6938662ff6b558e86)
Approved by: re (gjb)
show more ...
|
| 8b3a5cdc | 31-Mar-2022 |
Xin LI <[email protected]> |
MFV 7b495a2a7abf (zlib): Correct incorrect inputs provided to the CRC functions.
MFC after: 3 days
(cherry picked from commit c61bc1110c90cb67a60cb08c4f3bc24f75d0b385) (cherry picked from commit 6b
MFV 7b495a2a7abf (zlib): Correct incorrect inputs provided to the CRC functions.
MFC after: 3 days
(cherry picked from commit c61bc1110c90cb67a60cb08c4f3bc24f75d0b385) (cherry picked from commit 6b0e0c9e9534149d932fc8b71d1d21a09fe31ffc)
Approved by: re (gjb)
show more ...
|
| 94ee6a9e | 24-Feb-2022 |
Bjoern A. Zeeb <[email protected]> |
iwlwifi: enhance debug information
Add a string of the debug type to the output of the debug message so it is easier to search for specific events in a trace with lots of debugging on. While here r
iwlwifi: enhance debug information
Add a string of the debug type to the output of the debug message so it is easier to search for specific events in a trace with lots of debugging on. While here remove superflous ().
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 51152e5e6150746ad5514f169c8fd1d04b010b35)
show more ...
|
| b55a7f34 | 21-Jan-2022 |
Mark Johnston <[email protected]> |
Fix handling of errors from dmu_write_uio_dbuf() on FreeBSD
FreeBSD's implementation of zfs_uio_fault_move() returns EFAULT when a page fault occurs while copying data in or out of user buffers. Th
Fix handling of errors from dmu_write_uio_dbuf() on FreeBSD
FreeBSD's implementation of zfs_uio_fault_move() returns EFAULT when a page fault occurs while copying data in or out of user buffers. The VFS treats such errors specially and will retry the I/O operation (which may have made some partial progress).
When the FreeBSD and Linux implementations of zfs_write() were merged, the handling of errors from dmu_write_uio_dbuf() changed such that EFAULT is not handled as a partial write. For example, when appending to a file, the z_size field of the znode is not updated after a partial write resulting in EFAULT.
Restore the old handling of errors from dmu_write_uio_dbuf() to fix this. This should have no impact on Linux, which has special handling for EFAULT already.
Reviewed-by: Andriy Gapon <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Mark Johnston <[email protected]> Closes #12964 (cherry picked from commit 063daa8350d4a78f96d1ee6550910363fd3756fb)
show more ...
|