public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Suresh Jayaraman <sjayaraman@suse.com>
Cc: David Howells <dhowells@redhat.com>,
	Justin Lecher <jlec@gentoo.org>,
	LKML <linux-kernel@vger.kernel.org>,
	linux-cachefs@redhat.com
Subject: Re: [PATCH] [RESEND] fs: cachefiles: Add support for large files in filesystem caching
Date: Mon, 18 Jun 2012 16:04:08 -0700	[thread overview]
Message-ID: <20120618160408.8d0dd792.akpm@linux-foundation.org> (raw)
In-Reply-To: <4FD5844D.4010900@suse.com>

On Mon, 11 Jun 2012 11:08:21 +0530
Suresh Jayaraman <sjayaraman@suse.com> wrote:

> The below patch which was first posted here:
> 
>    https://lkml.org/lkml/2012/4/3/193
> 
> and tested by me and picked up by the maintainer here:
> 
>    https://lkml.org/lkml/2012/5/1/57
> 
> But it seems to not to have made to the linux-next or Linus tree.
> I'm resending what it seems like a lost patch.
> 
> 
> From: Justin Lecher <jlec@gentoo.org>
> 
> Support the caching of large files.
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=31182
> 
> Signed-off-by: Justin Lecher <jlec@gentoo.org>
> Tested-by: Suresh Jayaraman <sjayaraman@suse.com>
> ---
>  fs/cachefiles/rdwr.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/fs/cachefiles/rdwr.c b/fs/cachefiles/rdwr.c
> index 0e3c092..d136686 100644
> --- a/fs/cachefiles/rdwr.c
> +++ b/fs/cachefiles/rdwr.c
> @@ -919,7 +919,7 @@ int cachefiles_write_page(struct fscache_storage *op, struct page *page)
>  	dget(object->backer);
>  	mntget(cache->mnt);
>  	file = dentry_open(object->backer, cache->mnt, O_RDWR,
> -			   cache->cache_cred);
> +			   (O_RDWR | O_LARGEFILE), cache->cache_cred);

Doesn't compile.

How extensively was this change tested?  Please describe the testing
which was performed?


  reply	other threads:[~2012-06-18 23:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-11  5:38 [PATCH] [RESEND] fs: cachefiles: Add support for large files in filesystem caching Suresh Jayaraman
2012-06-18 23:04 ` Andrew Morton [this message]
2012-06-19  5:27   ` Suresh Jayaraman
2012-06-19  7:52     ` Andrew Morton
2012-06-19  7:58       ` justin
2012-06-20 13:35       ` Suresh Jayaraman
2012-06-20 19:45         ` Justin

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=20120618160408.8d0dd792.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=dhowells@redhat.com \
    --cc=jlec@gentoo.org \
    --cc=linux-cachefs@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sjayaraman@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox