All of lore.kernel.org
 help / color / mirror / Atom feed
From: "changtao381" <changtao381@163.com>
To: ceph-devel@vger.kernel.org
Subject: journal alignment
Date: Fri, 20 Nov 2015 16:33:25 +0800	[thread overview]
Message-ID: <019801d1236e$206f12e0$614d38a0$@com> (raw)

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!



             reply	other threads:[~2015-11-20  8:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-20  8:33 changtao381 [this message]
2015-11-20  8:41 ` journal alignment 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

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='019801d1236e$206f12e0$614d38a0$@com' \
    --to=changtao381@163.com \
    --cc=ceph-devel@vger.kernel.org \
    /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.