All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sunil Mushran <sunil.mushran@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 1/1] Ocfs2: Should ocfs2 support fiemap for S_IFDIR inode?
Date: Thu, 17 Dec 2009 10:33:32 -0800	[thread overview]
Message-ID: <4B2A797C.7090606@oracle.com> (raw)
In-Reply-To: <1261046536-4502-1-git-send-email-tristan.ye@oracle.com>

Acked-by: Sunil Mushran <sunil.mushran@oracle.com>

I see no reason why we should not add it to symlink and
fast_symlink too. But that would need testing. Make that a
separate patch. This one looks good as is.

Tristan Ye wrote:
> Let userspace have a chance to get the extent info of a
> directory just like extN did.
>
> Signed-off-by: Tristan Ye <tristan.ye@oracle.com>
> ---
>  fs/ocfs2/namei.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c
> index f010b22..0b9f35e 100644
> --- a/fs/ocfs2/namei.c
> +++ b/fs/ocfs2/namei.c
> @@ -2326,4 +2326,5 @@ const struct inode_operations ocfs2_dir_iops = {
>  	.getxattr	= generic_getxattr,
>  	.listxattr	= ocfs2_listxattr,
>  	.removexattr	= generic_removexattr,
> +	.fiemap         = ocfs2_fiemap,
>  };

  reply	other threads:[~2009-12-17 18:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17 10:42 [Ocfs2-devel] [PATCH 1/1] Ocfs2: Should ocfs2 support fiemap for S_IFDIR inode? Tristan Ye
2009-12-17 18:33 ` Sunil Mushran [this message]
2009-12-18  1:55   ` tristan

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=4B2A797C.7090606@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.