All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Piotr Dałek" <piotr.dalek-Rm6v+N6rxxBWk0Htik3J/w@public.gmane.org>
To: Sage Weil <sage-BnTBU8nroG7k1uMJSBkQmQ@public.gmane.org>
Cc: ceph-devel <ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	ceph-users <ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org>
Subject: Re: Snap trim queue length issues
Date: Mon, 18 Dec 2017 09:52:11 +0100	[thread overview]
Message-ID: <c445ca1f-f7f5-9930-a69f-4e0d04307a87@corp.ovh.com> (raw)
In-Reply-To: <alpine.DEB.2.11.1712151454030.2838-qHenpvqtifaMSRpgCs4c+g@public.gmane.org>

On 17-12-15 03:58 PM, Sage Weil wrote:
> On Fri, 15 Dec 2017, Piotr Dałek wrote:
>> On 17-12-14 05:31 PM, David Turner wrote:
>>> I've tracked this in a much more manual way.  I would grab a random subset
>>> [..]
>>>
>>> This was all on a Hammer cluster.  The changes to the snap trimming queues
>>> going into the main osd thread made it so that our use case was not viable
>>> on Jewel until changes to Jewel that happened after I left.  It's exciting
>>> that this will actually be a reportable value from the cluster.
>>>
>>> Sorry that this story doesn't really answer your question, except to say
>>> that people aware of this problem likely have a work around for it.  However
>>> I'm certain that a lot more clusters are impacted by this than are aware of
>>> it and being able to quickly see that would be beneficial to troubleshooting
>>> problems.  Backporting would be nice.  I run a few Jewel clusters that have
>>> some VM's and it would be nice to see how well the cluster handle snap
>>> trimming.  But they are much less critical on how much snapshots they do.
>>
>> Thanks for your response, it pretty much confirms what I though:
>> - users aware of issue have their own hacks that don't need to be efficient or
>> convenient.
>> - users unaware of issue are, well, unaware and at risk of serious service
>> disruption once disk space is all used up.
>>
>> Hopefully it'll be convincing enough for devs. ;)
> 
> Your PR looks great!  I commented with a nit on the format of the warning
> itself.

I just adressed the comments.

> I expect this is trivial to backport to luminous; it will need to be
> partially reimplemented for jewel (with some care around the pg_stat_t and
> a different check for the jewel-style health checks).

Yeah, that's why I expected some resistance here and asked for comments. I 
really don't mind reimplementing this, it's not a big deal.

-- 
Piotr Dałek
piotr.dalek@corp.ovh.com
https://www.ovh.com/us/
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

      parent reply	other threads:[~2017-12-18  8:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14 14:36 Snap trim queue length issues Piotr Dałek
     [not found] ` <82009aab-6b20-ef21-9bbd-76fddf84e0a3-Rm6v+N6rxxBWk0Htik3J/w@public.gmane.org>
2017-12-14 16:31   ` David Turner
2017-12-15  9:00     ` [ceph-users] " Piotr Dałek
     [not found]       ` <81eabcfe-59b1-70c9-4f4f-2abbc86b9456-Rm6v+N6rxxBWk0Htik3J/w@public.gmane.org>
2017-12-15 14:58         ` Sage Weil
     [not found]           ` <alpine.DEB.2.11.1712151454030.2838-qHenpvqtifaMSRpgCs4c+g@public.gmane.org>
2017-12-18  8:52             ` Piotr Dałek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c445ca1f-f7f5-9930-a69f-4e0d04307a87@corp.ovh.com \
    --to=piotr.dalek-rm6v+n6rxxbwk0htik3j/w@public.gmane.org \
    --cc=ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org \
    --cc=sage-BnTBU8nroG7k1uMJSBkQmQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.