fs: cachefiles: Add support for large files in filesystem caching
PATCH 1/1 fs: cachefiles: Add support for large files in filesystem caching
From 87b3da18f351c4f91d608e75e235c22cd30d7818 Mon Sep 17 00:00:00 2001
From: Justin Lecher <[email protected]>
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
--- fs/cachefiles/rdwr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/cachefiles/rdwr.c +0 -0
@@ -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);
From 87b3da18f351c4f91d608e75e235c22cd30d7818 Mon Sep 17 00:00:00 2001
From: Justin Lecher <[email protected]>
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
--- fs/cachefiles/rdwr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/cachefiles/rdwr.c +1 -1
@@ -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);
Signature · 1 line
1.7.8.5
A message that is not in the archive (sent off-list or not yet received): CABCEB8nkwhthkA+ge0Ts3bB8s2-GhPi7+XvteYZcDDW_WTk-Ew@mail.gmail.com
David Howells
maintainerI've added Justin's patch to my queue.
David
Quoted 3 lines · David Howells
I've added Justin's patch to my queue.
David
Nice to hear that, thanks.
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
Quoted 4 lines · David Howells
I've added Justin's patch to my queue.
David
Quoted 3 lines · David Howells
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