Re: [PATCH 06/45] xfs: CIL checkpoint flushes caches unconditionally

Christoph Hellwig
2021-03-16T08:48:46Z

> + /*
> + * Before we format and submit the first iclog, we have to ensure that
> + * the metadata writeback ordering cache flush is complete.
> + */
> + wait_for_completion(&bdev_flush);

.. and this would be where we'd check bio.bi_status for an error ..