summaryrefslogtreecommitdiff
path: root/include/linux/decompress
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2026-03-16 04:53:32 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-04-05 23:53:30 +0300
commitbf989ade270d4ca65e73d5fc1ab5e4d2ef472e80 (patch)
tree20034c4a2494bccf531623654516d20c0dc1cc85 /include/linux/decompress
parentf0f6f787143068b23c5808e7a63aef03601f1377 (diff)
downloadlinux-bf989ade270d4ca65e73d5fc1ab5e4d2ef472e80.tar.xz
zram: propagate read_from_bdev_async() errors
When read_from_bdev_async() fails to chain bio, for instance fails to allocate request or bio, we need to propagate the error condition so that upper layer is aware of it. zram already does that by setting BLK_STS_IOERR ->bi_status, but only for sync reads. Change async read path to return its error status so that async errors are also handled. Link: https://lkml.kernel.org/r/20260316015354.114465-1-senozhatsky@chromium.org Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Suggested-by: Brian Geffon <bgeffon@google.com> Acked-by: Brian Geffon <bgeffon@google.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Richard Chang <richardycc@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/decompress')
0 files changed, 0 insertions, 0 deletions