Vratislav Bendel
b195f26ab8
xfs: Correctly invert xfs_buftarg LRU isolation logic
...
commit 19957a181608d25c8f4136652d0ea00b3738972d upstream.
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>
Signed-off-by: Alex Lyakas <alex@zadara.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-06 12:43:40 +01:00
..
2019-10-05 12:47:38 +02:00
2017-06-19 08:59:10 -07:00
2017-05-08 17:15:13 -07:00
2017-07-12 16:26:03 -07:00
2017-06-05 16:59:08 +02:00
2017-10-11 10:21:06 -07:00
2017-06-27 18:23:21 -07:00
2018-02-03 17:39:14 +01:00
2017-08-31 09:31:47 -07:00
2017-10-11 10:21:07 -07:00
2017-07-13 14:55:05 -07:00
2017-06-20 10:45:22 -07:00
2018-02-03 17:39:06 +01:00
2018-02-03 17:39:06 +01:00
2017-10-11 10:21:06 -07:00
2017-10-11 10:21:06 -07:00
2017-09-02 08:22:19 -07:00
2017-09-01 10:55:30 -07:00
2019-11-06 12:43:40 +01:00
2017-08-31 09:31:47 -07:00
2017-06-20 10:45:22 -07:00
2018-05-30 07:52:23 +02:00
2017-11-02 11:10:55 +01:00
2018-02-03 17:39:15 +01:00
2018-02-03 17:39:15 +01:00
2017-09-25 18:22:30 -07:00
2017-08-22 09:22:24 -07:00
2017-04-25 09:40:42 -07:00
2018-05-09 09:51:52 +02:00
2017-10-16 12:26:50 -07:00
2017-04-03 15:18:17 -07:00
2018-06-05 11:41:55 +02:00
2017-06-19 14:11:33 -07:00
2017-06-19 08:59:10 -07:00
2018-08-09 12:16:39 +02:00
2017-06-19 14:11:34 -07:00
2017-10-11 10:21:06 -07:00
2018-02-03 17:39:06 +01:00
2017-07-02 22:46:13 -07:00
2017-04-03 15:18:17 -07:00
2017-06-19 14:11:33 -07:00
2018-07-11 16:29:22 +02:00
2017-06-19 14:11:33 -07:00
2017-09-26 10:55:19 -07:00
2017-09-26 10:55:19 -07:00
2019-08-29 08:26:45 +02:00
2017-06-19 14:11:34 -07:00
2017-06-19 14:11:34 -07:00
2017-09-12 20:02:22 -07:00
2017-08-04 13:43:36 -07:00
2017-06-19 14:11:33 -07:00
2018-02-03 17:39:06 +01:00
2017-10-11 10:21:06 -07:00
2017-06-19 14:11:33 -07:00
2017-06-19 08:59:10 -07:00
2017-11-02 11:10:55 +01:00
2017-10-11 10:21:06 -07:00
2018-06-05 11:41:55 +02:00
2017-10-11 10:21:06 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-06-19 14:11:33 -07:00
2017-04-28 08:11:08 -07:00
2018-03-03 10:24:33 +01:00
2017-07-17 08:45:34 +01:00
2018-02-03 17:39:06 +01:00
2018-02-03 17:39:06 +01:00
2017-10-03 21:27:55 -07:00
2017-06-19 14:11:35 -07:00
2017-04-25 09:40:42 -07:00
2017-09-01 10:55:30 -07:00
2017-06-19 14:11:34 -07:00
2017-06-19 14:11:33 -07:00
2017-06-19 14:11:33 -07:00
2019-10-17 13:44:03 -07:00
2017-09-01 10:55:30 -07:00
2017-06-20 10:45:22 -07:00
2017-06-19 08:59:10 -07:00
2017-06-27 18:23:21 -07:00
2017-04-03 15:18:17 -07:00
2018-06-05 11:41:55 +02:00
2017-08-22 09:22:24 -07:00
2017-06-19 08:59:10 -07:00
2017-09-01 10:55:30 -07:00
2017-09-01 10:55:30 -07:00
2017-08-22 09:22:23 -07:00
2017-06-19 14:11:33 -07:00
2017-09-01 10:55:30 -07:00
2017-09-01 10:55:30 -07:00
2017-06-19 08:59:10 -07:00