linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chandan Rajendra <chandan@linux.vnet.ibm.com>
To: lsf-pc@lists.linux-foundation.org
Cc: linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org
Subject: [LSF/MM TOPIC]: Btrfs: Decoupling block-size and page-size in BTRFS.
Date: Thu, 27 Nov 2014 13:43:03 +0630	[thread overview]
Message-ID: <4053596.iiH0KJPrOm@localhost.localdomain> (raw)

In BTRFS, BLOCK_SIZE, the basic IO size of the filesystem, is equal to the
PAGE_SIZE of the architecture. Some 64-bit architectures, like PPC64 and
ARM64, can/do have a default PAGE_SIZE of 64K, which means the filesystems
handled in these architectures have a BLOCK_SIZE of 64K.

This works fine as long as you create and use the filesystems within
these systems. But users cannot create a filesystem in an architecture
of a specific BLOCK_SIZE and then use that filesystem in another. So a
filesystem created on x86 cannot be used (mounted, read, ...) on a
PPC64 or ARM64 system.

9 versions of the subpagesize-blocksize patchset have been posted until today
(see
https://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg38862.html). These
patches address only the issues in regular I/O code path of Btrfs and still
needs more work to get it working correctly. Other Btrfs features
(e.g. compression, scrub, etc) also need some work to get them working in
subpagesize-blocksize scenario.

I believe that a face-to-face discussion involving Btrfs
maintainers/developers to address some of the design issues would enable us to
fast track the inclusion of this feature into the mainline kernel tree.

-- 
chandan


             reply	other threads:[~2014-11-27  8:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-27  7:13 Chandan Rajendra [this message]
2014-12-01 10:13 ` [Lsf-pc] [LSF/MM TOPIC]: Btrfs: Decoupling block-size and page-size in BTRFS Christoph Hellwig
2014-12-01 14:06   ` Chris Mason

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=4053596.iiH0KJPrOm@localhost.localdomain \
    --to=chandan@linux.vnet.ibm.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=lsf-pc@lists.linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).