Commit b967ab7
ext4: support large block size in mpage_map_and_submit_buffers()
Use the EXT4_PG_TO_LBLK/EXT4_LBLK_TO_PG macros to complete the conversion
between folio indexes and blocks to avoid negative left/right shifts after
supporting blocksize greater than PAGE_SIZE.
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Message-ID: <20251121090654.631996-19-libaokun@huaweicloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent bff6235 commit b967ab7
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2299 | 2299 | | |
2300 | 2300 | | |
2301 | 2301 | | |
2302 | | - | |
2303 | 2302 | | |
2304 | 2303 | | |
2305 | 2304 | | |
2306 | 2305 | | |
2307 | 2306 | | |
2308 | 2307 | | |
2309 | | - | |
2310 | | - | |
| 2308 | + | |
| 2309 | + | |
2311 | 2310 | | |
2312 | 2311 | | |
2313 | 2312 | | |
| |||
2318 | 2317 | | |
2319 | 2318 | | |
2320 | 2319 | | |
2321 | | - | |
| 2320 | + | |
2322 | 2321 | | |
2323 | 2322 | | |
2324 | 2323 | | |
| |||
0 commit comments