Coly Li
ebaa1ac12b
bcache: remove can_attach_cache()
...
After removing the embedded struct cache_sb from struct cache_set, cache
set will directly reference the in-memory super block of struct cache.
It is unnecessary to compare block_size, bucket_size and nr_in_set from
the identical in-memory super block in can_attach_cache().
This is a preparation patch for latter removing cache_set->sb from
struct cache_set.
Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-10-02 14:25:30 -06:00
..
2020-10-02 14:25:30 -06:00
2020-09-02 13:38:40 -04:00
2019-11-05 14:53:03 -05:00
2017-06-09 09:27:32 -06:00
2020-01-07 12:07:08 -05:00
2017-03-07 11:30:16 -05:00
2020-03-03 10:02:46 -05:00
2020-07-20 11:17:43 -04:00
2017-11-02 11:10:55 +01:00
2018-04-30 15:40:40 -04:00
2017-03-07 13:28:31 -05:00
2016-12-16 00:13:41 +02:00
2020-09-02 13:38:24 -04:00
2017-03-07 13:28:31 -05:00
2017-03-07 13:28:31 -05:00
2018-10-16 14:34:59 -04:00
2017-03-07 13:28:31 -05:00
2020-07-08 17:20:46 -06:00
2020-03-27 14:42:51 -04:00
2020-03-27 14:42:51 -04:00
2020-07-08 17:20:46 -06:00
2019-04-04 15:33:59 -04:00
2020-09-01 16:41:57 -04:00
2020-07-01 07:27:24 -06:00
2020-07-20 11:17:41 -04:00
2020-08-04 16:01:40 -04:00
2020-07-08 17:20:46 -06:00
2019-05-16 15:55:48 -07:00
2019-11-12 19:12:07 -07:00
2020-05-15 10:29:36 -04:00
2020-08-04 15:51:28 -04:00
2020-09-01 16:41:57 -04:00
2020-07-16 12:35:15 -07:00
2020-08-07 13:08:09 -07:00
2019-08-15 15:57:39 -04:00
2020-04-02 19:15:03 -07:00
2018-05-30 15:33:32 -06:00
2020-05-20 17:09:44 -04:00
2016-11-01 09:43:26 -06:00
2020-09-01 16:41:56 -04:00
2020-05-15 10:29:36 -04:00
2020-05-15 10:29:36 -04:00
2020-07-01 07:27:24 -06:00
2020-09-02 08:00:07 -06:00
2018-06-12 18:28:00 -07:00
2017-02-17 00:54:09 -05:00
2020-08-07 13:08:09 -07:00
2019-03-05 14:48:50 -05:00
2020-05-15 10:29:36 -04:00
2020-08-04 13:49:43 -07:00
2020-07-01 07:27:24 -06:00
2020-05-20 17:09:44 -04:00
2017-11-02 11:10:55 +01:00
2020-05-20 17:09:44 -04:00
2020-05-20 17:09:44 -04:00
2018-10-11 11:36:09 -04:00
2020-09-24 13:44:39 -06:00
2019-04-25 15:38:52 -04:00
2020-09-02 13:38:40 -04:00
2019-12-05 17:05:24 -05:00
2020-07-08 17:20:46 -06:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2018-12-18 09:02:26 -05:00
2020-04-16 16:16:38 -04:00
2019-05-30 11:26:32 -07:00
2020-08-07 13:08:09 -07:00
2019-08-23 10:13:14 -04:00
2020-08-04 15:48:13 -04:00
2020-07-13 11:47:33 -04:00
2020-09-01 16:41:55 -04:00
2017-06-09 09:27:32 -06:00
2020-07-08 12:21:53 -04:00
2020-07-08 12:21:53 -04:00
2020-08-03 11:57:03 -07:00
2020-06-05 14:59:53 -04:00
2020-09-24 13:44:39 -06:00
2020-07-08 17:20:46 -06:00
2020-07-05 14:28:27 -06:00
2020-07-16 15:34:47 +02:00
2020-08-23 17:36:59 -05:00
2020-09-24 16:44:44 -07:00
2018-08-01 15:49:39 -07:00
2020-09-02 08:00:07 -06:00
2018-10-18 09:36:35 -07:00
2020-07-01 07:27:24 -06:00
2020-09-02 08:00:07 -06:00
2020-05-13 12:02:23 -07:00
2020-07-08 17:20:46 -06:00
2018-05-30 15:33:32 -06:00
2020-09-24 16:44:45 -07:00
2020-09-24 16:44:45 -07:00
2020-09-24 16:44:45 -07:00
2019-09-13 13:10:05 -07:00
2019-06-15 01:37:35 -06:00
2020-07-08 17:20:46 -06:00
2020-05-13 12:02:23 -07:00
2020-08-02 23:03:52 -07:00
2019-03-12 10:15:18 -07:00
2020-07-21 17:18:12 -07:00
2020-09-24 16:44:45 -07:00
2020-09-24 16:44:44 -07:00
2020-09-24 16:44:45 -07:00
2020-09-24 16:44:45 -07:00