summaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_cache.c
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-11-18 18:06:59 -0500
committerGitHub <[email protected]>2020-11-18 15:06:59 -0800
commit85703f616ddb83bb94192e24fd8519661578aac2 (patch)
tree0b0ebf5f556d6d6fde50e2d3673448c24355cbdb /module/zfs/vdev_cache.c
parent0ca45cb31092358044d11f6085b6338fb5fca602 (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/vdev_cache.c')
0 files changed, 0 insertions, 0 deletions