All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wido den Hollander <wido@42on.com>
To: "Ilya Dryomov" <idryomov@gmail.com>,
	"Jason Dillaman" <dillaman@redhat.com>,
	"Bartłomiej Święcki" <bartlomiej.swiecki@corp.ovh.com>
Cc: Mykola Golub <mgolub@mirantis.com>,
	Josh Durgin <jdurgin@redhat.com>,
	Ceph Development <ceph-devel@vger.kernel.org>
Subject: Re: RBD image name constraints
Date: Tue, 12 Apr 2016 14:47:45 +0200 (CEST)	[thread overview]
Message-ID: <1738732185.2918.160e133c-ee3f-4c6e-9b8b-e4d468651d78.open-xchange@ox.pcextreme.nl> (raw)
In-Reply-To: <570CEACA.9020104@corp.ovh.com>


> Op 12 april 2016 om 14:32 schreef Bartłomiej Święcki
> <bartlomiej.swiecki@corp.ovh.com>:
> 
> 
> 
> On 04/11/2016 05:08 PM, Ilya Dryomov wrote:
> > On Mon, Apr 11, 2016 at 4:29 PM, Jason Dillaman <dillaman@redhat.com> wrote:
> >
> >> It would probably make sense to relax it for non-create operations and use
> >> a strict regex for create/clone/import/rename operations.
> > I think it would also make sense to start enforcing a limit on the
> > length of the image name on create/clone/etc.  I'm not pushing for it
> > to be 96 chars (although I do believe it'd be sensible), just that we
> > don't want it to be RADOS - strlen("rbd_id.").
> >
> > Thanks,
> >
> >                  Ilya
> Sounds like a good plan to me, maybe we should also consider allowed 
> character set? Non-ascii or control characters make little sense here too.
> 

Seems like a sane thing to me:

a-z, A-Z, 0-9, -, _ and . are the characters you want to allow in a image's
name. I can't think of anything more.

Wido

> Regards,
> Bartek
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2016-04-12 12:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-08 12:23 RBD image name constraints Bartłomiej Święcki
2016-04-08 16:13 ` Ilya Dryomov
2016-04-08 17:36   ` Alex Elder
2016-04-08 18:12     ` Ilya Dryomov
2016-04-11  8:45   ` Bartłomiej Święcki
2016-04-08 20:29 ` Mykola Golub
2016-04-11  8:45   ` Bartłomiej Święcki
2016-04-11  9:37     ` Mykola Golub
2016-04-11 14:29       ` Jason Dillaman
2016-04-11 15:08         ` Ilya Dryomov
2016-04-12 12:32           ` Bartłomiej Święcki
2016-04-12 12:47             ` Wido den Hollander [this message]
2016-04-12 13:01               ` Jason Dillaman
2016-04-12 13:23                 ` Ilya Dryomov

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=1738732185.2918.160e133c-ee3f-4c6e-9b8b-e4d468651d78.open-xchange@ox.pcextreme.nl \
    --to=wido@42on.com \
    --cc=bartlomiej.swiecki@corp.ovh.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=dillaman@redhat.com \
    --cc=idryomov@gmail.com \
    --cc=jdurgin@redhat.com \
    --cc=mgolub@mirantis.com \
    /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.