From: Sunil Mushran <sunil.mushran@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] vmstore option - mkfs
Date: Wed, 16 Nov 2011 09:45:21 -0800 [thread overview]
Message-ID: <4EC3F6B1.5030909@oracle.com> (raw)
In-Reply-To: <CAAiDW_TVHH7aZJ7Wtpg_LQhD7M1+Gn47sQW2XxqnEH4DUMVM5w@mail.gmail.com>
Yes. But this is just the features. It also selects the appropriate cluster size, block size,
journal size, etc. All the params selected are printed by mkfs. You also have the option of
running with the --dry-option to see the params.
On 11/16/2011 09:41 AM, Artur Baruchi wrote:
> I just found this:
>
> + {OCFS2_FEATURE_COMPAT_BACKUP_SB | OCFS2_FEATURE_COMPAT_JBD2_SB,
> + OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC |
> + OCFS2_FEATURE_INCOMPAT_INLINE_DATA |
> + OCFS2_FEATURE_INCOMPAT_XATTR |
> + OCFS2_FEATURE_INCOMPAT_REFCOUNT_TREE,
> + OCFS2_FEATURE_RO_COMPAT_UNWRITTEN}, /* FS_VMSTORE */
>
> These options are the ones that, when choosing for vmstore, are
> enabled by default. Is this correct?
>
> Thanks.
>
> Att.
> Artur Baruchi
>
>
>
> On Wed, Nov 16, 2011 at 3:26 PM, Sunil Mushran<sunil.mushran@oracle.com> wrote:
>> fstype is a handy way to format the volume with parameters that are thought
>> to be useful for that use-case. The result of this is printed during format
>> by
>> way of the parameters selected. man mkfs.ocfs2 has a blurb about the
>> features
>> it enabled by default.
>>
>> On 11/16/2011 08:45 AM, Artur Baruchi wrote:
>>> Hi.
>>>
>>> I tried to find some information about the option vmstore when
>>> formating a device, but didnt found anything about it (no
>>> documentation, I did some greps inside the source code, but nothing
>>> returned). My doubts about this:
>>>
>>> - What kind of optimization this option creates in my file system to
>>> store vm images? I mean.. what does exactly this option do?
>>> - Where, in source code, I can find the part that makes this optimization?
>>>
>>> Thanks in advance.
>>>
>>> Att.
>>> Artur Baruchi
>>>
>>
next prev parent reply other threads:[~2011-11-16 17:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 16:45 [Ocfs2-devel] vmstore option - mkfs Artur Baruchi
2011-11-16 17:26 ` Sunil Mushran
2011-11-16 17:41 ` Artur Baruchi
2011-11-16 17:45 ` Sunil Mushran [this message]
2011-11-16 18:00 ` Artur Baruchi
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=4EC3F6B1.5030909@oracle.com \
--to=sunil.mushran@oracle.com \
--cc=ocfs2-devel@oss.oracle.com \
/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.