Re: [PATCH v2] loop: Disable fallocate() zero and discard if not supported

From: Jens Axboe
Date: Fri Jun 14 2024 - 08:21:48 EST



On Thu, 13 Jun 2024 18:38:17 +0200, Cyril Hrubis wrote:
> If fallcate is implemented but zero and discard operations are not
> supported by the filesystem the backing file is on we continue to fill
> dmesg with errors from the blk_mq_end_request() since each time we call
> fallocate() on the loop device the EOPNOTSUPP error from lo_fallocate()
> ends up propagated into the block layer. In the end syscall succeeds
> since the blkdev_issue_zeroout() falls back to writing zeroes which
> makes the errors even more misleading and confusing.
>
> [...]

Applied, thanks!

[1/1] loop: Disable fallocate() zero and discard if not supported
commit: 5f75e081ab5cbfbe7aca2112a802e69576ee9778

Best regards,
--
Jens Axboe