Commit 37d4159
nfs: Drop pointless check from nfs_commit_release_pages()
nfss->writeback is updated only when we are ending page writeback and at
that moment we also clear nfss->write_congested. So there's no point in
rechecking congestion state in nfs_commit_release_pages(). Drop the
pointless check.
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>1 parent 7d09d6b commit 37d4159
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1846 | 1846 | | |
1847 | 1847 | | |
1848 | 1848 | | |
1849 | | - | |
1850 | 1849 | | |
1851 | 1850 | | |
1852 | 1851 | | |
| |||
1889 | 1888 | | |
1890 | 1889 | | |
1891 | 1890 | | |
1892 | | - | |
1893 | | - | |
1894 | | - | |
1895 | 1891 | | |
1896 | 1892 | | |
1897 | 1893 | | |
| |||
0 commit comments