Re: [PATCH v2 2/2] loop: Better discard support for block devices

2019-02-26 Thread Evan Green
On Thu, Feb 14, 2019 at 10:00 AM Evan Green wrote: > > On Wed, Feb 13, 2019 at 6:40 PM Martin K. Petersen > wrote: > > > > > > Evan, > > > > > If the backing device for a loop device is a block device, then mirror > > > the discard properties of the underlying block device into the loop > > > dev

Re: [PATCH v2 2/2] loop: Better discard support for block devices

2019-02-14 Thread Evan Green
On Wed, Feb 13, 2019 at 6:40 PM Martin K. Petersen wrote: > > > Evan, > > > If the backing device for a loop device is a block device, then mirror > > the discard properties of the underlying block device into the loop > > device. While in there, differentiate between REQ_OP_DISCARD and > > REQ_OP

Re: [PATCH v2 2/2] loop: Better discard support for block devices

2019-02-13 Thread Martin K. Petersen
Evan, > If the backing device for a loop device is a block device, then mirror > the discard properties of the underlying block device into the loop > device. While in there, differentiate between REQ_OP_DISCARD and > REQ_OP_WRITE_ZEROES, which are different for block devices, but which > the lo

[PATCH v2 2/2] loop: Better discard support for block devices

2019-02-07 Thread Evan Green
If the backing device for a loop device is a block device, then mirror the discard properties of the underlying block device into the loop device. While in there, differentiate between REQ_OP_DISCARD and REQ_OP_WRITE_ZEROES, which are different for block devices, but which the loop device had just