Repository navigation
Commit 6c43f41
committed
nilfs2: keep zero value in i_cno except for gc-inodes
On-memory inode structures of nilfs have a member "i_cno" which stores
a checkpoint number related to the inode. For gc-inodes, this field
indicates version of data each gc-inode caches for GC. Log writer
temporarily uses "i_cno" to transfer the latest checkpoint number.
This stops the latter use and lets only gc-inodes use it.
The purpose of this patch is to allow the successive change use
"i_cno" for inode lookup.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>1 parent 7d6cd92 commit 6c43f41
3 files changed
Lines changed: 24 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
370 | | - | |
| 369 | + | |
371 | 370 | | |
372 | 371 | | |
373 | 372 | | |
| |||
440 | 439 | | |
441 | 440 | | |
442 | 441 | | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
448 | 456 | | |
449 | 457 | | |
450 | 458 | | |
451 | 459 | | |
452 | 460 | | |
453 | | - | |
| 461 | + | |
454 | 462 | | |
455 | 463 | | |
456 | 464 | | |
| |||
1976 | 1984 | | |
1977 | 1985 | | |
1978 | 1986 | | |
1979 | | - | |
1980 | 1987 | | |
1981 | 1988 | | |
1982 | 1989 | | |
| |||
2002 | 2009 | | |
2003 | 2010 | | |
2004 | 2011 | | |
2005 | | - | |
2006 | 2012 | | |
2007 | 2013 | | |
2008 | 2014 | | |
| |||
2011 | 2017 | | |
2012 | 2018 | | |
2013 | 2019 | | |
2014 | | - | |
2015 | | - | |
2016 | 2020 | | |
2017 | 2021 | | |
2018 | 2022 | | |
| |||
2021 | 2025 | | |
2022 | 2026 | | |
2023 | 2027 | | |
2024 | | - | |
2025 | 2028 | | |
2026 | 2029 | | |
2027 | 2030 | | |
2028 | 2031 | | |
2029 | | - | |
2030 | | - | |
2031 | | - | |
2032 | | - | |
2033 | | - | |
2034 | | - | |
| 2032 | + | |
2035 | 2033 | | |
2036 | | - | |
| 2034 | + | |
2037 | 2035 | | |
2038 | 2036 | | |
2039 | 2037 | | |
| |||
2054 | 2052 | | |
2055 | 2053 | | |
2056 | 2054 | | |
| 2055 | + | |
2057 | 2056 | | |
2058 | 2057 | | |
2059 | 2058 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
159 | | - | |
| 160 | + | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
273 | 281 | | |
274 | 282 | | |
275 | 283 | | |
| |||
0 commit comments