Repository navigation
Commit 033369d
reiserfs: get rid of resierfs_sync_super
This patch stops reiserfs using the VFS 'write_super()' method along with the
s_dirt flag, because they are on their way out.
The whole "superblock write-out" VFS infrastructure is served by the
'sync_supers()' kernel thread, which wakes up every 5 (by default) seconds and
writes out all dirty superblock using the '->write_super()' call-back. But the
problem with this thread is that it wastes power by waking up the system every
5 seconds, even if there are no diry superblocks, or there are no client
file-systems which would need this (e.g., btrfs does not use
'->write_super()'). So we want to kill it completely and thus, we need to make
file-systems to stop using the '->write_super()' VFS service, and then remove
it together with the kernel thread.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>1 parent 5c5fd81 commit 033369d
3 files changed
Lines changed: 55 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1923 | 1923 | | |
1924 | 1924 | | |
1925 | 1925 | | |
| 1926 | + | |
| 1927 | + | |
1926 | 1928 | | |
1927 | 1929 | | |
1928 | 1930 | | |
| |||
3314 | 3316 | | |
3315 | 3317 | | |
3316 | 3318 | | |
3317 | | - | |
| 3319 | + | |
3318 | 3320 | | |
3319 | 3321 | | |
3320 | 3322 | | |
| |||
3952 | 3954 | | |
3953 | 3955 | | |
3954 | 3956 | | |
3955 | | - | |
| 3957 | + | |
3956 | 3958 | | |
3957 | 3959 | | |
3958 | 3960 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
483 | 488 | | |
484 | 489 | | |
485 | 490 | | |
| |||
2487 | 2492 | | |
2488 | 2493 | | |
2489 | 2494 | | |
| 2495 | + | |
2490 | 2496 | | |
2491 | 2497 | | |
2492 | 2498 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
81 | | - | |
| 79 | + | |
82 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
83 | 91 | | |
84 | 92 | | |
85 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
86 | 121 | | |
87 | 122 | | |
88 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
89 | 127 | | |
90 | 128 | | |
91 | 129 | | |
| |||
99 | 137 | | |
100 | 138 | | |
101 | 139 | | |
102 | | - | |
103 | 140 | | |
104 | 141 | | |
105 | 142 | | |
| |||
483 | 520 | | |
484 | 521 | | |
485 | 522 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | 523 | | |
490 | 524 | | |
491 | 525 | | |
| |||
692 | 726 | | |
693 | 727 | | |
694 | 728 | | |
695 | | - | |
696 | 729 | | |
697 | 730 | | |
698 | 731 | | |
| |||
1400 | 1433 | | |
1401 | 1434 | | |
1402 | 1435 | | |
1403 | | - | |
1404 | 1436 | | |
1405 | 1437 | | |
1406 | 1438 | | |
| |||
1741 | 1773 | | |
1742 | 1774 | | |
1743 | 1775 | | |
| 1776 | + | |
| 1777 | + | |
1744 | 1778 | | |
1745 | 1779 | | |
1746 | 1780 | | |
| |||
2003 | 2037 | | |
2004 | 2038 | | |
2005 | 2039 | | |
| 2040 | + | |
| 2041 | + | |
2006 | 2042 | | |
2007 | 2043 | | |
2008 | 2044 | | |
| |||
0 commit comments