[kernel] r19747 - in dists/sid/linux/debian: . patches patches/bugfix/all
Ben Hutchings
benh at alioth.debian.org
Sat Jan 19 18:11:12 UTC 2013
Author: benh
Date: Sat Jan 19 18:11:12 2013
New Revision: 19747
Log:
fs: cachefiles: add support for large files in filesystem caching (Closes: #698376)
Added:
dists/sid/linux/debian/patches/bugfix/all/fs-cachefiles-add-support-for-large-files-in-filesys.patch
Modified:
dists/sid/linux/debian/changelog
dists/sid/linux/debian/patches/series
Modified: dists/sid/linux/debian/changelog
==============================================================================
--- dists/sid/linux/debian/changelog Sat Jan 19 15:02:59 2013 (r19746)
+++ dists/sid/linux/debian/changelog Sat Jan 19 18:11:12 2013 (r19747)
@@ -69,6 +69,8 @@
* vt6656: Fix inconsistent structure packing which leads to crash on amd64
* [!powerpc] radeon: Reenable DRM_RADEON_KMS, as it apparently works on
most non-PowerMac systems
+ * fs: cachefiles: add support for large files in filesystem caching
+ (Closes: #698376)
[ Aurelien Jarno ]
* [armhf/vexpress] Add kernel udebs.
Added: dists/sid/linux/debian/patches/bugfix/all/fs-cachefiles-add-support-for-large-files-in-filesys.patch
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/sid/linux/debian/patches/bugfix/all/fs-cachefiles-add-support-for-large-files-in-filesys.patch Sat Jan 19 18:11:12 2013 (r19747)
@@ -0,0 +1,31 @@
+From: Justin Lecher <jlec at gentoo.org>
+Date: Mon, 30 Jul 2012 14:42:53 -0700
+Subject: fs: cachefiles: add support for large files in filesystem caching
+
+commit 98c350cda2c14a343d34ea01a3d9c24fea5ec66d upstream.
+
+Support the caching of large files.
+
+Addresses https://bugzilla.kernel.org/show_bug.cgi?id=31182
+
+Signed-off-by: Justin Lecher <jlec at gentoo.org>
+Signed-off-by: Suresh Jayaraman <sjayaraman at suse.com>
+Tested-by: Suresh Jayaraman <sjayaraman at suse.com>
+Acked-by: David Howells <dhowells at redhat.com>
+Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
+Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
+[bwh: Backported to 3.2:
+ - Adjust context
+ - dentry_open() takes dentry and vfsmount pointers, not a path pointer]
+---
+--- 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);
Modified: dists/sid/linux/debian/patches/series
==============================================================================
--- dists/sid/linux/debian/patches/series Sat Jan 19 15:02:59 2013 (r19746)
+++ dists/sid/linux/debian/patches/series Sat Jan 19 18:11:12 2013 (r19747)
@@ -464,3 +464,4 @@
features/all/iguanair/0011-media-iguanair-cannot-send-data-from-the-stack.patch
features/all/rt2800-add-chipset-revision-RT5390R-support.patch
bugfix/all/vt6656-Fix-inconsistent-structure-packing.patch
+bugfix/all/fs-cachefiles-add-support-for-large-files-in-filesys.patch
More information about the Kernel-svn-changes
mailing list