Re: [PATCH] ceph: rbd option listing and tcp_nodelay support

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

 



On Thu, Jan 22, 2015 at 12:54 PM, Chaitanya Huilgol
<Chaitanya.Huilgol@xxxxxxxxxxx> wrote:
> Hi Ilya,
>
> We have two options here,
> (1) Have kernel export supported options and pass on supported options from ceph.conf automatically if user has not specified the same via rbd -o - this is what is done in the current patch
> Or
> (2) As suggested by you, Have a default map options in ceph.conf  and pass all options which have not be overridden by rbd -o
>
> As I understand, there is no need to do both - we need to choose between the two.
> After your suggestion, I am leaning towards option-2 as it give more krbd specific control. However, the onus now rests on the user to add default options based on what the kernel supports (for this we can still provide the options listing via the sysbus interface, say with 'rbd map supported_options' cli)

And the question then is: do we really need this supported_options cli?
rbd map options are treated very much like filesystem mount options -
the set of supported options is determined by the kernel version and is
documented in rbd(8) man page.

(There aren't any kernel version details in there currently, but that's
simply because all existing options have been added in bulk a long time
ago, and we can fix that omission with the addition of tcp_nodelay.)

Thanks,

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




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux