Repository navigation
Commit b907f2d
committed
ext4: avoid calling ext4_mark_inode_dirty() under unneeded semaphores
There is no need to call ext4_mark_inode_dirty while holding xattr_sem
or i_data_sem, so where it's easy to avoid it, move it out from the
critical region.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent c755e25 commit b907f2d
2 files changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1042 | 1042 | | |
1043 | 1043 | | |
1044 | 1044 | | |
1045 | | - | |
1046 | 1045 | | |
1047 | 1046 | | |
1048 | 1047 | | |
| |||
1311 | 1310 | | |
1312 | 1311 | | |
1313 | 1312 | | |
1314 | | - | |
1315 | 1313 | | |
| 1314 | + | |
1316 | 1315 | | |
1317 | 1316 | | |
1318 | 1317 | | |
| |||
1708 | 1707 | | |
1709 | 1708 | | |
1710 | 1709 | | |
1711 | | - | |
1712 | | - | |
1713 | | - | |
1714 | | - | |
1715 | 1710 | | |
1716 | 1711 | | |
1717 | 1712 | | |
| 1713 | + | |
| 1714 | + | |
1718 | 1715 | | |
1719 | 1716 | | |
1720 | 1717 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2464 | 2464 | | |
2465 | 2465 | | |
2466 | 2466 | | |
2467 | | - | |
2468 | 2467 | | |
| 2468 | + | |
2469 | 2469 | | |
2470 | 2470 | | |
2471 | 2471 | | |
| |||
0 commit comments