Brian Behlendorf 04a82e043d
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 <batkinson@lanl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11235
2020-11-24 09:28:42 -08:00
..
2020-09-02 09:42:12 -07:00
2020-11-02 11:51:12 -08:00
2020-10-27 09:43:36 -07:00
2020-09-02 09:42:12 -07:00
2020-11-17 09:50:52 -08:00
2020-06-10 09:24:15 -07:00
2020-10-02 17:44:10 -07:00
2020-11-24 09:28:42 -08:00
2020-06-10 09:24:15 -07:00
2020-08-20 10:30:06 -07:00
2020-10-08 20:07:10 -07:00