Re: dm-statistics: report precise timestamps and histogram

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 19 Aug 2015, Bryn M. Reeves wrote:

> On Tue, Aug 18, 2015 at 05:41:12PM -0400, Mike Snitzer wrote:
> > On Tue, Aug 18 2015 at  5:07pm -0400,
> > Mike Snitzer <snitzer@xxxxxxxxxx> wrote:
> > 
> > > On Tue, Aug 18 2015 at  4:26pm -0400,
> > > Mikulas Patocka <mpatocka@xxxxxxxxxx> wrote:
> > > 
> > > > Mike, please submit this patch to the upstream kernel before 4.2 is 
> > > > released, so that the all the kernels that support the options 
> > > > "precise_timestamps" and "histogram" also report these values back.
> > > 
> > > It is really late to be sending pull requests for 4.2 (next release is
> > > likely 4.2 final).  I've already sent 6 'fixes' pull requests to Linus
> > > for 4.2.  This patch is just too late, sorry.
> > > 
> > > But what I will do is tag this commit for 4.2-stable inclusion.
> > > 
> > > Userspace will have to check the DM ioctl version to know if DM provides
> > > these extra keywords.
> > 
> > I've staged the following for 4.3:
> > https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=for-next&id=bd49784fd1e8f42c7600fbfa206361324857f373
> > 
> > Bryn, please verify this change is sufficient for your needs.
> 
> Yes; this will be usable by dmstats.
> 
> Unfortuntely the fact that there are kernels out there without this
> means that we will need to either carry a workaround in dmstats
> userspace forever or just disallow use of these features on those
> kernels.

That's why I think it should be submitted to 4.2 now - so that there won't 
be an upstream kernel without this feature.

> The workaround is fairly unobtrusive and is already written so it's not
> the end of the world (it also has future uses for which kernel support
> will not help so it won't be solely used for precise/histogram
> tracking).
> 
> Regards,
> Bryn.

Mikulas

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux