Files
android_kernel_xiaomi_sm8450/fs/xfs
Vratislav Bendel 19957a1816 xfs: Correctly invert xfs_buftarg LRU isolation logic
Due to an inverted logic mistake in xfs_buftarg_isolate()
the xfs_buffers with zero b_lru_ref will take another trip
around LRU, while isolating buffers with non-zero b_lru_ref.

Additionally those isolated buffers end up right back on the LRU
once they are released, because b_lru_ref remains elevated.

Fix that circuitous route by leaving them on the LRU
as originally intended.

Signed-off-by: Vratislav Bendel <vbendel@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2018-03-11 20:27:56 -07:00
..
2018-03-11 20:27:55 -07:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:26 -07:00
2017-04-03 15:18:17 -07:00
2017-11-09 15:50:29 -08:00
2017-10-26 15:38:27 -07:00
2017-12-08 17:51:05 -08:00
2018-01-29 07:27:22 -08:00