Rafael Ávila de Espíndola
b3adabda2d
Reduce logalloc differences between debug and release
...
A lot of code in scylla is only reachable if SEASTAR_DEFAULT_ALLOCATOR
is not defined. In particular, refill_emergency_reserve in the default
allocator case is empty, but in the seastar allocator case it compacts
segments.
I am trying to debug a crash that seems to involve memory corruption
around the lsa allocator, and being able to use a debug build for that
would be awesome.
This patch reduces the differences between the two cases by having a
common segment_pool that defers only a few operations to different
segment_store implementations.
Tests: unit (debug, dev)
Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com >
Message-Id: <20190606020937.118205-1-espindola@scylladb.com >
2019-06-06 12:55:56 +03:00
..
2018-10-02 18:48:23 +01:00
2018-12-10 10:31:08 +02:00
2018-05-09 16:52:26 +01:00
2018-05-30 12:18:56 +02:00
2018-12-24 09:58:08 +02:00
2018-12-24 09:58:08 +02:00
2019-01-08 13:16:36 +02:00
2017-11-12 15:51:29 +01:00
2016-04-08 08:12:47 +03:00
2018-11-01 13:16:17 +00:00
2018-11-21 00:01:44 +02:00
2018-05-10 09:47:41 +03:00
2016-04-08 08:12:47 +03:00
2018-04-16 21:11:13 +02:00
2018-04-16 21:11:13 +02:00
2018-07-11 16:55:20 +02:00
2018-11-26 13:30:21 +00:00
2018-12-03 14:36:08 +01:00
2019-04-23 16:28:19 +03:00
2019-04-23 16:28:19 +03:00
2019-04-23 16:29:03 +03:00
2018-05-30 14:41:40 +02:00
2018-12-03 14:36:08 +01:00
2019-01-08 13:16:36 +02:00
2017-04-17 23:03:15 +03:00
2017-05-17 12:30:03 +03:00
2018-04-07 14:52:58 +03:00
2018-04-07 14:52:58 +03:00
2018-11-21 00:01:44 +02:00
2016-06-09 10:03:04 +02:00
2016-06-09 09:58:00 +02:00
2019-01-08 13:16:36 +02:00
2019-02-07 18:31:25 +02:00
2019-01-08 13:16:36 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2018-11-01 13:16:17 +00:00
2018-07-18 12:28:06 +01:00
2019-03-04 10:23:45 +00:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2018-11-01 13:16:17 +00:00
2018-05-10 09:47:41 +03:00
2017-12-05 14:28:34 +00:00
2016-09-28 17:34:16 +03:00
2019-01-08 13:16:36 +02:00
2019-01-08 13:16:36 +02:00
2018-04-10 10:25:06 +03:00
2018-05-15 11:22:21 -04:00
2016-11-14 18:01:43 +02:00
2018-04-16 20:56:30 +02:00
2018-04-16 20:56:30 +02:00
2018-08-30 20:56:44 -04:00
2019-01-08 13:16:36 +02:00
2017-09-18 12:44:05 +02:00
2019-06-06 12:55:56 +03:00
2019-02-20 12:53:49 +02:00
2018-01-30 18:33:25 +01:00
2019-01-18 13:48:05 +00:00
2016-04-08 08:12:47 +03:00
2018-09-03 17:09:54 +03:00
2018-11-21 14:04:27 +01:00
2018-05-31 10:09:01 +01:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2019-01-08 13:16:36 +02:00
2018-07-11 10:15:01 +01:00
2018-07-20 13:50:17 -07:00
2018-11-20 16:15:12 +00:00
2018-06-27 12:48:30 +02:00
2019-01-08 13:16:36 +02:00
2018-11-21 00:01:44 +02:00
2018-09-30 11:12:23 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2018-12-12 09:32:05 +00:00
2018-11-21 00:01:44 +02:00
2017-10-18 08:49:52 +02:00
2019-01-18 17:49:46 +02:00
2017-06-29 02:08:12 -03:00
2018-12-28 16:31:24 +01:00
2018-12-05 21:51:01 +02:00
2018-12-05 21:51:01 +02:00
2019-02-20 08:03:46 -08:00
2016-07-19 18:21:58 +03:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2017-04-25 11:43:04 +02:00