答复: 答复: [ceph/ceph] Wip add flashcache (#8773)

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

 



hi, Sage, I couldn't see your reply, I didn't add the flashcache uuid in the PTYPE in this commit. How about I commit a new that add the flashcache uuid in the PTYPE such as journal?

-----邮件原件-----
发件人: Milosz Tanski [mailto:milosz@xxxxxxxxx]
发送时间: 2016年5月20日 0:59
收件人: houlinfei 11802 (RD)
抄送: ceph-devel@xxxxxxxxxxxxxxx
主题: Re: 答复: [ceph/ceph] Wip add flashcache (#8773)

On Thu, May 19, 2016 at 7:51 AM, Houlinfei <hou.linfei@xxxxxxx> wrote:
>
>
> Hi, the main ceph-disk interface added is part of the prepare. We add
> fcache, fcache_size, fcache-uuid optional arguments. These are the only external interface. When you want to use flashcache, you must specify flashcache disk and flashcache size such as ceph-disk prepare --fcache /dev/sdc --fcache_size 10 /dev/sda.
> I think we could add bcache and dm-cache in the same way if needed. What do you think?
>
> 发件人: Sage Weil [mailto:notifications@xxxxxxxxxx]
> 发送时间: 2016年5月7日 3:58
> 收件人: ceph/ceph
> 抄送: houlinfei 11802 (RD); Author
> 主题: Re: [ceph/ceph] Wip add flashcache (#8773)
>
> I think we want to make this more generic so that we can layer in any caching option (flashcache, bcache, dm-cache). Can you send an email to ceph-devel with the proposed ceph-disk interface change so we can get feedback and settle one the approach? Thanks!


I think it's important to think about how these block caching solutions handle O_DIRECT. Bluestore uses O_DIRECT + libaio which bypasses the normal kernel (page) caches. I actually don't know the answer to it but I think it's valuable to figure out if any of the above are bypassed in the O_DIRECT case.

--
Milosz Tanski
CTO
16 East 34th Street, 15th floor
New York, NY 10016

p: 646-253-9055
e: milosz@xxxxxxxxx
-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!
��.n��������+%������w��{.n����z��u���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[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