Bug 31182 - make filesystem cache largefile aware
Summary: make filesystem cache largefile aware
Status: RESOLVED CODE_FIX
Alias: None
Product: File System
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 enhancement
Assignee: fs_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-16 12:08 UTC by Justin
Modified: 2012-08-15 21:54 UTC (History)
2 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Allow largefile storage in FSC (500 bytes, patch)
2011-03-16 12:08 UTC, Justin
Details | Diff

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

Note You need to log in before you can comment on or make changes to this bug.