[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 7/7] block: check availablity for preadv/pwritev on mac
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v3 7/7] block: check availablity for preadv/pwritev on mac |
Date: |
Thu, 29 Oct 2020 07:53:59 +0000 |
On Wed, Oct 28, 2020 at 06:07:16PM -0700, Joelle van Dyne wrote:
> If built with Xcode 12 without the checks, a runtime error will occur.
If that runtime error is ENOSYS then it's handled by existing code:
if (preadv_present) {
nbytes = handle_aiocb_rw_vector(aiocb);
if (nbytes == aiocb->aio_nbytes ||
(nbytes < 0 && nbytes != -ENOSYS)) {
goto out;
}
preadv_present = false;
}
Why is additional code needed for iOS?
Stefan
signature.asc
Description: PGP signature
Re: [PATCH v3 0/7] iOS and Apple Silicon host support, Stefan Hajnoczi, 2020/10/28