linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs: cachefiles: Add support for large files in filesystem caching
@ 2012-04-03 13:38 ` justin
  2012-05-01  9:13   ` David Howells
  0 siblings, 1 reply; 5+ messages in thread
From: justin @ 2012-04-03 13:38 UTC (permalink / raw)
  To: dhowells, linux-cachefs, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 982 bytes --]

From 87b3da18f351c4f91d608e75e235c22cd30d7818 Mon Sep 17 00:00:00 2001
From: Justin Lecher <jlec@gentoo.org>
Date: Tue, 3 Apr 2012 13:51:58 +0200
Subject: [PATCH] fs: cachefiles: Add support for large files in filesystem
 caching

Support the caching of large files.

https://bugzilla.kernel.org/show_bug.cgi?id=31182

Signed-off-by: Justin Lecher <jlec@gentoo.org>
---
 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..cc7ef95 100644
--- a/fs/cachefiles/rdwr.c
+++ b/fs/cachefiles/rdwr.c
@@ -918,7 +918,7 @@ int cachefiles_write_page(struct fscache_storage
*op, struct page *page)
 	 * own time */
 	dget(object->backer);
 	mntget(cache->mnt);
-	file = dentry_open(object->backer, cache->mnt, O_RDWR,
+	file = dentry_open(object->backer, cache->mnt, (O_RDWR | O_LARGEFILE),
 			   cache->cache_cred);
 	if (IS_ERR(file)) {
 		ret = PTR_ERR(file);

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-fs-cachefiles-Add-support-for-large-files-in-filesys.patch --]
[-- Type: text/x-patch; name="0001-fs-cachefiles-Add-support-for-large-files-in-filesys.patch", Size: 997 bytes --]

From 87b3da18f351c4f91d608e75e235c22cd30d7818 Mon Sep 17 00:00:00 2001
From: Justin Lecher <jlec@gentoo.org>
Date: Tue, 3 Apr 2012 13:51:58 +0200
Subject: [PATCH] fs: cachefiles: Add support for large files in filesystem
 caching

Support the caching of large files.

https://bugzilla.kernel.org/show_bug.cgi?id=31182

Signed-off-by: Justin Lecher <jlec@gentoo.org>
---
 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..cc7ef95 100644
--- a/fs/cachefiles/rdwr.c
+++ b/fs/cachefiles/rdwr.c
@@ -918,7 +918,7 @@ int cachefiles_write_page(struct fscache_storage *op, struct page *page)
 	 * own time */
 	dget(object->backer);
 	mntget(cache->mnt);
-	file = dentry_open(object->backer, cache->mnt, O_RDWR,
+	file = dentry_open(object->backer, cache->mnt, (O_RDWR | O_LARGEFILE),
 			   cache->cache_cred);
 	if (IS_ERR(file)) {
 		ret = PTR_ERR(file);
-- 
1.7.8.5


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] fs: cachefiles: Add support for large files in filesystem caching
  2012-04-03 13:38 ` [PATCH] fs: cachefiles: Add support for large files in filesystem caching justin
@ 2012-05-01  9:13   ` David Howells
  2012-05-02 10:20     ` justin
                       ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: David Howells @ 2012-05-01  9:13 UTC (permalink / raw)
  To: Suresh Jayaraman, justin; +Cc: dhowells, linux-cachefs, linux-kernel


I've added Justin's patch to my queue.

David

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] fs: cachefiles: Add support for large files in filesystem caching
  2012-05-01  9:13   ` David Howells
@ 2012-05-02 10:20     ` justin
  2012-05-22  5:05     ` Suresh Jayaraman
  2012-06-05  4:07     ` Suresh Jayaraman
  2 siblings, 0 replies; 5+ messages in thread
From: justin @ 2012-05-02 10:20 UTC (permalink / raw)
  To: David Howells; +Cc: Suresh Jayaraman, linux-cachefs, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 132 bytes --]

On 01/05/12 11:13, David Howells wrote:

> I've added Justin's patch to my queue.
> 
> David


Nice to hear that, thanks.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] fs: cachefiles: Add support for large files in filesystem caching
  2012-05-01  9:13   ` David Howells
  2012-05-02 10:20     ` justin
@ 2012-05-22  5:05     ` Suresh Jayaraman
  2012-06-05  4:07     ` Suresh Jayaraman
  2 siblings, 0 replies; 5+ messages in thread
From: Suresh Jayaraman @ 2012-05-22  5:05 UTC (permalink / raw)
  To: David Howells; +Cc: justin, linux-cachefs, linux-kernel

Hello David,

This patch doesn't seem to have made it to linux-next (for May 21),
yet. Could you kindly re-check?

Thanks
Suresh



On Tue, May 1, 2012 at 2:43 PM, David Howells <dhowells@redhat.com> wrote:
>
> I've added Justin's patch to my queue.
>
> David

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] fs: cachefiles: Add support for large files in filesystem caching
  2012-05-01  9:13   ` David Howells
  2012-05-02 10:20     ` justin
  2012-05-22  5:05     ` Suresh Jayaraman
@ 2012-06-05  4:07     ` Suresh Jayaraman
  2 siblings, 0 replies; 5+ messages in thread
From: Suresh Jayaraman @ 2012-06-05  4:07 UTC (permalink / raw)
  To: David Howells; +Cc: justin, linux-cachefs, linux-kernel

On Tue, May 1, 2012 at 2:43 PM, David Howells <dhowells@redhat.com> wrote:
>
> I've added Justin's patch to my queue.
>

Hello David,

I don't find this patch in linux-next, yet. Did you find any problem
with this patch?
Just trying to make sure it is not getting lost in the pile..

Thanks
Suresh

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-05  4:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CABCEB8nkwhthkA+ge0Ts3bB8s2-GhPi7+XvteYZcDDW_WTk-Ew@mail.gmail.com>
2012-04-03 13:38 ` [PATCH] fs: cachefiles: Add support for large files in filesystem caching justin
2012-05-01  9:13   ` David Howells
2012-05-02 10:20     ` justin
2012-05-22  5:05     ` Suresh Jayaraman
2012-06-05  4:07     ` Suresh Jayaraman

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).