All of lore.kernel.org
 help / color / mirror / Atom feed
* journal alignment
@ 2015-11-20  8:33 changtao381
  2015-11-20  8:41 ` Haomai Wang
  2015-11-20  8:42 ` Piotr.Dalek
  0 siblings, 2 replies; 10+ messages in thread
From: changtao381 @ 2015-11-20  8:33 UTC (permalink / raw)
  To: ceph-devel

HI All,

Why it is needed an entry of journal t is aligned  by  CEPH_PAGE_MASK ?  For
it causes the data of journal write are amplified by 2X for small io

For example write io size 4096 bytes, it may write 8192 bytes

prepare_single_write 2 will write 98304 : seq 24 len 4324 -> 8192 (head 40
pre_pad 0 ebl 4324 post_pad 3788 tail 40) (ebl alignment -1)

Thanks!



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-11-23 16:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-20  8:33 journal alignment changtao381
2015-11-20  8:41 ` Haomai Wang
2015-11-20  8:42 ` Piotr.Dalek
2015-11-20  9:12   ` 答复: " changtao381
2015-11-20  9:16     ` 池信泽
2015-11-20  9:19       ` 池信泽
     [not found]     ` <alpine.DEB.2.00.1511200339470.25088@cobra.newdream.net>
2015-11-20 13:03       ` Haomai Wang
     [not found]         ` <alpine.DEB.2.00.1511200507120.24879@cobra.newdream.net>
2015-11-20 13:29           ` Haomai Wang
2015-11-20 19:53             ` Evgeniy Firsov
2015-11-23 16:59             ` Haomai Wang

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.