Commit e607c82
f2fs_io: add flags parameter to fiemap subcommand
Add a flags parameter to the fiemap subcommand so that it can pass
FIEMAP_FLAG_SYNC, FIEMAP_FLAG_XATTR, and FIEMAP_FLAG_CACHE. Before
retrieving the fiemap, perform the corresponding actions based on
these flags, such as syncing data or preloading extents.
Signed-off-by: Yongpeng Yang <yangyongpeng@xiaomi.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent c7ac88f commit e607c82
2 files changed
Lines changed: 14 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1357 | 1357 | | |
1358 | 1358 | | |
1359 | 1359 | | |
1360 | | - | |
1361 | | - | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
1362 | 1367 | | |
1363 | 1368 | | |
1364 | 1369 | | |
1365 | 1370 | | |
1366 | 1371 | | |
1367 | 1372 | | |
1368 | 1373 | | |
1369 | | - | |
| 1374 | + | |
1370 | 1375 | | |
1371 | 1376 | | |
1372 | | - | |
| 1377 | + | |
1373 | 1378 | | |
1374 | 1379 | | |
1375 | 1380 | | |
| |||
1378 | 1383 | | |
1379 | 1384 | | |
1380 | 1385 | | |
| 1386 | + | |
| 1387 | + | |
1381 | 1388 | | |
1382 | 1389 | | |
| 1390 | + | |
1383 | 1391 | | |
1384 | 1392 | | |
1385 | 1393 | | |
| |||
1397 | 1405 | | |
1398 | 1406 | | |
1399 | 1407 | | |
| 1408 | + | |
1400 | 1409 | | |
1401 | 1410 | | |
1402 | 1411 | | |
| |||
0 commit comments