Vitaly Wool
1b096e5ae9
z3fold: extend compaction function
...
z3fold_compact_page() currently only handles the situation when there's
a single middle chunk within the z3fold page. However it may be worth
it to move middle chunk closer to either first or last chunk, whichever
is there, if the gap between them is big enough.
This patch adds the relevant code, using BIG_CHUNK_GAP define as a
threshold for middle chunk to be worth moving.
Link: http://lkml.kernel.org/r/20170131214334.c4f3eac9a477af0fa9a22c46@gmail.com
Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Reviewed-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-24 17:46:54 -08:00
..
2017-02-22 10:46:44 -08:00
2017-02-22 16:41:30 -08:00
2016-07-26 16:19:19 -07:00
2017-02-22 16:41:29 -08:00
2016-01-27 09:09:57 -05:00
2017-01-11 13:56:49 +00:00
2017-02-22 16:41:29 -08:00
2016-03-17 15:09:34 -07:00
2016-12-12 18:55:08 -08:00
2016-03-17 15:09:34 -07:00
2016-12-20 09:48:46 -08:00
2016-03-15 16:55:16 -07:00
2017-02-24 17:46:54 -08:00
2016-10-19 08:11:24 -07:00
2016-07-26 16:19:19 -07:00
2017-02-24 17:46:54 -08:00
2016-05-19 19:12:14 -07:00
2017-02-24 17:46:54 -08:00
2016-05-20 17:58:30 -07:00
2017-02-24 17:46:54 -08:00
2016-11-22 11:49:48 -06:00
2017-02-22 16:41:30 -08:00
2016-12-12 18:55:08 -08:00
2016-09-13 02:35:27 +02:00
2017-01-10 18:31:55 -08:00
2016-03-17 15:09:34 -07:00
2016-03-17 15:09:34 -07:00
2016-12-12 18:55:07 -08:00
2017-02-24 17:46:53 -08:00
2016-10-27 18:43:42 -07:00
2016-05-22 17:21:27 -07:00
2017-02-24 17:46:54 -08:00
2017-02-22 16:41:30 -08:00
2017-02-24 17:46:54 -08:00
2017-02-22 16:41:27 -08:00
2017-02-24 17:46:53 -08:00
2016-12-25 11:54:48 -08:00
2017-02-24 17:46:54 -08:00
2017-01-24 16:26:14 -08:00
2016-07-28 16:07:41 -07:00
2016-12-25 11:54:48 -08:00
2016-12-24 11:46:01 -08:00
2016-11-30 16:32:52 -08:00
2016-03-17 15:09:34 -07:00
2017-02-24 17:46:54 -08:00
2016-04-28 11:44:19 +02:00
2016-03-17 15:09:34 -07:00
2017-02-22 16:41:29 -08:00
2017-02-22 16:41:29 -08:00
2017-02-22 16:41:28 -08:00
2016-10-11 15:06:33 -07:00
2017-02-24 17:46:54 -08:00
2017-02-24 17:46:53 -08:00
2017-02-24 17:46:54 -08:00
2016-10-07 18:46:27 -07:00
2016-07-28 16:07:41 -07:00
2016-11-02 10:24:03 -06:00
2017-02-22 16:41:27 -08:00
2016-10-07 18:46:27 -07:00
2016-06-03 15:06:22 -07:00
2017-02-02 08:20:48 -07:00
2017-02-24 17:46:54 -08:00
2016-03-17 15:09:34 -07:00
2016-12-13 12:34:47 -08:00
2017-02-24 17:46:54 -08:00
2016-12-14 16:04:09 -08:00
2016-03-17 15:09:34 -07:00
2016-12-12 18:55:08 -08:00
2016-12-12 18:55:08 -08:00
2017-02-24 17:46:54 -08:00
2017-02-22 16:41:27 -08:00
2017-02-22 16:41:27 -08:00
2017-02-22 16:41:27 -08:00
2017-02-22 16:41:27 -08:00
2017-02-22 16:41:27 -08:00
2016-08-02 17:31:41 -04:00
2017-02-22 16:41:29 -08:00
2016-03-17 15:09:34 -07:00
2017-02-22 16:41:30 -08:00
2017-02-22 16:41:30 -08:00
2017-02-24 17:46:54 -08:00
2017-02-22 16:41:30 -08:00
2016-12-26 20:29:24 -08:00
2017-01-11 13:56:50 +00:00
2017-02-22 16:41:28 -08:00
2016-12-24 11:46:01 -08:00
2016-10-07 18:46:27 -07:00
2017-02-22 16:41:30 -08:00
2016-02-03 08:28:43 -08:00
2017-02-24 17:46:54 -08:00
2017-02-22 16:41:29 -08:00
2017-02-22 16:41:30 -08:00
2017-02-24 17:46:54 -08:00
2016-01-15 11:40:52 -08:00
2017-02-22 16:41:29 -08:00
2017-02-03 14:13:19 -08:00