Re: [dm-devel] dm-verity with GPT

2022-09-18 Thread Mikulas Patocka
On Sat, 17 Sep 2022, Pra.. Dew.. wrote: > > We have a scenario for a VM where a VM is running in the host Linux > using KVM. We want to expose verity protected rootfs to the VM. This > rootfs clearly needs to be RO. However, we also want to expose it as a > GPT partition. In order to do thi

Re: [dm-devel] [PATCH RFC 0/8] Introduce provisioning primitives for thinly provisioned storage

2022-09-18 Thread Sarthak Kukreti
On Thu, Sep 15, 2022 at 11:10 PM Stefan Hajnoczi wrote: > > On Thu, Sep 15, 2022 at 09:48:18AM -0700, Sarthak Kukreti wrote: > > From: Sarthak Kukreti > > > > Hi, > > > > This patch series is an RFC of a mechanism to pass through provision > > requests on stacked thinly provisioned storage devic

Re: [dm-devel] [PATCH RFC 4/8] fs: Introduce FALLOC_FL_PROVISION

2022-09-18 Thread Sarthak Kukreti
On Fri, Sep 16, 2022 at 4:56 AM Brian Foster wrote: > > On Thu, Sep 15, 2022 at 09:48:22AM -0700, Sarthak Kukreti wrote: > > From: Sarthak Kukreti > > > > FALLOC_FL_PROVISION is a new fallocate() allocation mode that > > sends a hint to (supported) thinly provisioned block devices to > > allocate

Re: [dm-devel] [PATCH RFC 0/8] Introduce provisioning primitives for thinly provisioned storage

2022-09-18 Thread Sarthak Kukreti
On Fri, Sep 16, 2022 at 1:01 PM Bart Van Assche wrote: > > On 9/16/22 11:48, Sarthak Kukreti wrote: > > Yes. On ChromiumOS, we regularly deal with storage devices that don't > > support WRITE_ZEROES or that need to have it disabled, via a quirk, > > due to a bug in the vendor's implementation. Usi

Re: [dm-devel] [PATCH RFC 0/8] Introduce provisioning primitives for thinly provisioned storage

2022-09-18 Thread Sarthak Kukreti
On Fri, Sep 16, 2022 at 8:03 PM Darrick J. Wong wrote: > > On Thu, Sep 15, 2022 at 09:48:18AM -0700, Sarthak Kukreti wrote: > > From: Sarthak Kukreti > > > > Hi, > > > > This patch series is an RFC of a mechanism to pass through provision > > requests on stacked thinly provisioned storage devices

Re: [dm-devel] dm-verity with GPT

2022-09-18 Thread Pra.. Dew..
Thank you Mikulas. I just want to make sure I understand what you are saying. Currently we making a dm-linear, dm-verity, dm-linear target; if I understand you right you are suggesting to make it a dm-veriy, dm-linear, dm-linear target? Of course the 2nd dm-linear target will have LBAs before dm