Commit Graph

14 Commits

Author SHA1 Message Date
Tom Marshall 24401f9a68 WIP: Implement zone caches 2019-10-10 15:07:39 -07:00
Tom Marshall 07f4221a5f Fix a bunch of things
* Fix command line handling.
* Move option/parameter validation to libcbd.
* Make resize argument the logical size.
* Make blkdev_pblk_* take dm_compress instead of block_device.
* Reinstate dm_compress.io_failed.
* Other misc stuff.
2019-10-10 13:27:37 -07:00
Tom Marshall 36dec597ac Implement async writes 2019-10-10 09:23:34 -07:00
Tom Marshall 26152ce1ec Move compress_{alloc,free}_pages up for use by async I/O 2019-10-09 19:49:47 -07:00
Tom Marshall 7326fe2e14 Optimize lblk handling 2019-10-09 14:41:13 -07:00
Tom Marshall a5cc0f2e81 Rename zone_{pblk,lblk}* to {pblk,lblk}* 2019-10-09 13:36:26 -07:00
Tom Marshall 4499785fbb Refactor blkdev_pblk_* in preparation for async writes 2019-10-09 13:19:21 -07:00
Tom Marshall b675fe573a Pass buffer to elem rather than alloc in lblk_alloc_elem_{get,put}
This will assist in {read,writ}ing only the needed lblk alloc pages.
2019-10-09 11:57:57 -07:00
Tom Marshall 6dfb8997a8 libcbd/check.c: Rename alloc to elem 2019-10-09 11:45:30 -07:00
Tom Marshall f87e897207 Rename dm_compress.lblk_alloc to lblk_alloc_elem 2019-10-09 11:41:29 -07:00
Tom Marshall 08b94b6363 Add a .gitignore
Most of this can be removed when we build kernel modules out-of-tree.
2019-10-09 11:35:16 -07:00
Tom Marshall 0ca9fc789f Rename some stuff and limit LBLK_SHIFT_MAX 2019-10-09 11:32:36 -07:00
Tom Marshall 2e18584af3 Initial working version
Slow but seems functional.
2019-10-09 11:04:40 -07:00
Tom Marshall 489bd7d028 Initial empty repository 2019-10-09 09:02:39 -07:00