Skip to content

udf: Unify aops

Jan Kara linux-fsdevel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 0 repliesNew
  2. v110 patches 11 repliesSuperseded

Changes in v2 from the cover letter

* Added Reviewed-by tags from Christoph
* Added cleanup patches for udf_adinicb_writepage() and udf_expand_file_adinicb()

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12udf: Unify .read_folio for normal and in-ICB filesfs/udf/file.c fs/udf/inode.c fs/udf/udfdecl.h+13 -130 replies
2/12udf: Convert in-ICB files to use udf_writepages()fs/udf/file.c fs/udf/inode.c fs/udf/udfdecl.h+28 -230 replies
3/12udf: Convert in-ICB files to use udf_direct_IO()fs/udf/file.c fs/udf/inode.c fs/udf/udfdecl.h+6 -80 replies
4/12udf: Convert in-ICB files to use udf_write_begin()fs/udf/file.c fs/udf/inode.c fs/udf/udfdecl.h+23 -250 replies
5/12udf: Convert all file types to use udf_write_end()fs/udf/file.c fs/udf/inode.c fs/udf/udfdecl.h+25 -160 replies
6/12udf: Add handling of in-ICB files to udf_bmap()fs/udf/inode.c+4 -00 replies
7/12udf: Switch to single address_space_operationsfs/udf/file.c fs/udf/inode.c fs/udf/namei.c +1 more+3 -260 replies
8/12udf: Mark aops implementation staticfs/udf/inode.c fs/udf/udfdecl.h+10 -180 replies
9/12udf: Move udf_adinicb_readpage() to inode.cfs/udf/file.c fs/udf/inode.c fs/udf/udfdecl.h+15 -200 replies
10/12udf: Switch udf_adinicb_readpage() to kmap_local_page()fs/udf/inode.c+2 -20 replies
11/12udf: Convert udf_adinicb_writepage() to memcpy_to_page()fs/udf/inode.c+2 -70 replies
12/12udf: Convert udf_expand_file_adinicb() to avoid kmap_atomic()fs/udf/inode.c+4 -140 replies

Reviews trailers per patch

10 of 12 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12
12/12

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

Read the v2 thread

Cover letter [PATCH v2 0/12] udf: Unify aops

Hello,

this patch series makes UDF use the same address_space_operations for both normal and in-ICB files as switching aops on live files is prone to races as spotted by syzbot. When already dealing with this code, switch readpage, writepage, in-ICB expanding functions from using kmap_atomic() to use kmap_local_page().

I plan to queue these patches to my tree.

Changes since v1:
* Added Reviewed-by tags from Christoph
* Added cleanup patches for udf_adinicb_writepage() and udf_expand_file_adinicb()

Honza

Previous versions: