[filestore][journal][prepare_entry] rebuild data_align is 4086, maybe a bug

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

 



Hi:

when I analyzed the performance of ceph, I found that rebuild_aligned was time-consuming, and the analysis found that rebuild operations were performed every time.

 

Source code:

FileStore::queue_transactions

–> journal->prepare_entry(o->tls, &tbl);

-> data_align = ((*p).get_data_alignment() - bl.length()) & ~CEPH_PAGE_MASK;

-> ret = ebl.rebuild_aligned(CEPH_DIRECTIO_ALIGNMENT);

 

Log:

2017-10-17 19:49:29.706246 7fb472bfe700 10 journal  len 4196131 -> 4202496 (head 40 pre_pad 4046 bl 4196131 post_pad 2239 tail 40) (bl alignment 4086)

 

question:

I find “alignment =4086”, I think It maybe a bug

I think it should be 4096

because CEPH_DIRECTIO_ALIGNMENT is 4096

 

thank you

 

-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有新华三技术有限公司的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
This e-mail and its attachments contain confidential information from New 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!
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux