aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2020-11-24 09:28:42 -0800
committerBrian Behlendorf <[email protected]>2020-12-23 14:35:00 -0800
commit7cf4cd8246beb511a287705b3fbbc0431f6256ba (patch)
tree061df29fe0cf97eaa06ce883b65668a600d30603 /man
parent783be694f182c5ebc150cc10ad097512990814a0 (diff)
Remove incorrect assertion
Commit 85703f6 added a new ASSERT to zfs_write() as part of the cleanup which isn't correct in the case where multiple processes are concurrently extending a file. The `zp->z_size` is updated atomically while holding a range lock on only a portion of the file. Therefore, it's possible for the file size to increase after a same check is performed earlier in the loop causing this ASSERT to fail. The code itself handles this case correctly so only the invalid ASSERT needs to be removed. Reviewed-by: Brian Atkinson <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #11235
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions