]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Handle FLUSH errors as "expected"
authorAlexander Motin <mav@FreeBSD.org>
Fri, 19 Apr 2024 23:18:54 +0000 (19:18 -0400)
committerGitHub <noreply@github.com>
Fri, 19 Apr 2024 23:18:54 +0000 (16:18 -0700)
commit9f83eec03904b18e052fbe2c66542bd47254cf57
treefd6dc52e3871f1fca491896800c83d7deec11a9e
parent26d49fec5f862818a0410fedbba1efded0543374
Handle FLUSH errors as "expected"

Before #16061 zio_vdev_io_done() was not used for FLUSH requests.
Addition of it triggers reprobe each TXG for vdevs not supporting
them.  Since those errors are often expected, they are normally
handled by individual vdev drivers and should be ignored here.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rob Norris <rob.norris@klarasystems.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #16110
module/zfs/zio.c