Skip to content

iomap: Fix leakage of pipe pages while splicing

Jan Kara linux-fsdevel stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iomap: Fix pipe page leakage during splicingfs/iomap/direct-io.c+8 -14 replies
2/2iomap: Do not create fake iter in iomap_dio_bio_actor()fs/iomap/direct-io.c+12 -134 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDarrick J. WongChristoph Hellwig
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] iomap: Fix leakage of pipe pages while splicing

Hello,

here is a fix and a cleanup for iomap code. The first patch fixes a leakage of pipe pages when iomap_dio_rw() splices to a pipe, the second patch is a cleanup that removes strange copying of iter in iomap_dio_rw(). Patches have passed fstests for ext4 and xfs and fix the syzkaller reproducer for me.

Honza