Re: [PATCH v3 1/2] lvm: add lvm cache logical volume handling

2020-03-18 Thread Michael Chang
On Fri, Mar 13, 2020 at 01:23:42PM +0100, Daniel Kiper wrote: > On Wed, Mar 04, 2020 at 02:44:52PM +0800, Michael Chang wrote: [snip] > > @@ -243,6 +279,8 @@ grub_lvm_detect (grub_disk_t disk, > > > >if (! vg) > > { > > + struct cache_lv *cache_lvs = NULL; > > + > >/* First

Re: [PATCH v3 1/2] lvm: add lvm cache logical volume handling

2020-03-13 Thread Daniel Kiper
On Wed, Mar 04, 2020 at 02:44:52PM +0800, Michael Chang wrote: > The lvm cache logical volume is the logical volume consisting of the original > and the cache pool logical volume. The original is usually on a larger and > slower storage device while the cache pool is on a smaller and faster one. Th

[PATCH v3 1/2] lvm: add lvm cache logical volume handling

2020-03-03 Thread Michael Chang
The lvm cache logical volume is the logical volume consisting of the original and the cache pool logical volume. The original is usually on a larger and slower storage device while the cache pool is on a smaller and faster one. The performance of the original volume can be improved by storing the f