Re: LSF/MM Schedule and improving discard support

2016-04-13 Thread Bart Van Assche
On 04/13/2016 09:21 AM, Martin K. Petersen wrote: From a filesystem/ioctl perspective, BLKDISCARD is a hint. We should not be rounding off or aligning anything. Hello Martin, Today if a BLKDISCARD ioctl passes a non-aligned start and/or end sector to the kernel then the block layer will submi

Re: LSF/MM Schedule and improving discard support

2016-04-13 Thread Martin K. Petersen
> "Bart" == Bart Van Assche writes: Bart, Bart> There is something that should be discussed further, namely what Bart> the behavior of the BLKDISCARD and BLKSECDISCARD ioctls should be Bart> if the start and/or end sectors are not aligned on a discard Bart> boundary. Should such requests fai

Re: LSF/MM Schedule and improving discard support

2016-04-13 Thread Bart Van Assche
(+ LSF mailing list) On 04/07/2016 08:51 AM, James Bottomley wrote: On Thu, 2016-04-07 at 08:39 -0700, Bart Van Assche wrote: Some time ago I proposed to discuss how to improve discard support during the LSF/MM (http://thread.gmane.org/gmane.linux.scsi/110048). I would appreciate it if this wou

Re: LSF/MM Schedule and improving discard support

2016-04-07 Thread James Bottomley
On Thu, 2016-04-07 at 08:39 -0700, Bart Van Assche wrote: > Hello James, > > Some time ago I proposed to discuss how to improve discard support > during the LSF/MM (http://thread.gmane.org/gmane.linux.scsi/110048). > I would appreciate it if this would be added to the LSF/MM agenda > since ther