Bug 31182

Summary: make filesystem cache largefile aware
Product: File System Reporter: Justin (jlec)
Component: OtherAssignee: fs_other
Status: RESOLVED CODE_FIX    
Severity: enhancement CC: alan, florian
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: Allow largefile storage in FSC

Description Justin 2011-03-16 12:08:39 UTC
Created attachment 50942 [details]
Allow largefile storage in FSC

When using filesystem caches e.g. for nfs, it is especially beneficial for really large. Currently FSC cannot handle multi GB files. Please add O_LARGEFILE at the needed places. Attached patch works here, but I am not sure where there are more places or it can be done better.
Comment 1 Florian Mickler 2012-08-04 19:09:35 UTC
A patch referencing this bug report has been merged in Linux v3.6-rc1:

commit 98c350cda2c14a343d34ea01a3d9c24fea5ec66d
Author: Justin Lecher <jlec@gentoo.org>
Date:   Mon Jul 30 14:42:53 2012 -0700

    fs: cachefiles: add support for large files in filesystem caching