diff options
author | Ryan Moeller <[email protected]> | 2020-11-18 18:06:59 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-18 15:06:59 -0800 |
commit | 85703f616ddb83bb94192e24fd8519661578aac2 (patch) | |
tree | 0b0ebf5f556d6d6fde50e2d3673448c24355cbdb /module/zfs/zfs_ratelimit.c | |
parent | 0ca45cb31092358044d11f6085b6338fb5fca602 (diff) |
Reduce confusion in zfs_write
Is this block when abuf != NULL ever reached? Yes, it is.
Add asserts and comments to prove that when we get here, we have a full
block write at an aligned offset extending past EOF.
Simplify by removing the check that tx_bytes == max_blksz, since we can
assert that it is always true.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #11191
Diffstat (limited to 'module/zfs/zfs_ratelimit.c')
0 files changed, 0 insertions, 0 deletions