Re: [dm-devel] [RFC] dm-bow working prototype

2018-10-24 Thread Alasdair G Kergon
On Wed, Oct 24, 2018 at 03:24:29PM -0400, Mikulas Patocka wrote: > What about allocating a big file, using the FIEMAP ioctl to find the For reference, dmfilemapd in the lvm2 tree (in daemons/) uses FIEMAP (in libdm/libdm-stats.c) for monitoring I/O by file. > If you decide that rollback is no lo

Re: [RFC] dm-bow working prototype

2018-10-23 Thread Alasdair G Kergon
On Tue, Oct 23, 2018 at 02:23:28PM -0700, Paul Lawrence wrote: > It is planned to use this driver to enable restoration of a failed > update attempt on Android devices using ext4. Could you say a bit more about the reason for this new dm target so we can understand better what parameters you are t

Re: [dm-devel] [PATCH v6 0/3] dm: boot a mapped device without an initramfs

2017-05-04 Thread Alasdair G Kergon
Some more thoughts with your example, dmsetup might look like: # dmsetup create --bootformat "lroot:uuid,rw,0 2097152 linear 8:2 0, \ 2097152 2097152 linear 8:3 0, 4194304 2097152 linear 8:4 0" - also supporting creating multiple devices if the semi-colon is used - colon to separate name from uu

Re: [dm-devel] [PATCH v6 0/3] dm: boot a mapped device without an initramfs

2017-05-04 Thread Alasdair G Kergon
On Thu, May 04, 2017 at 01:18:41PM +0200, Enric Balletbo Serra wrote: > I'm wondering if a command line like this would be acceptable. 1) Make sure the implementation continues to support backslash quoting so that any characters you introduce with special meanings (comma, semi-colon, double-quote

Re: [PATCH v5 0/3] init: add support to directly boot to a mapped device

2016-02-21 Thread Alasdair G Kergon
On Sat, Feb 20, 2016 at 10:13:49AM -0800, Kees Cook wrote: > This is a resurrection of a patch series from a few years back, first > brought to the dm maintainers in 2010. It creates a way to define dm > devices on the kernel command line for systems that do not use an > initramfs, or otherwise nee