Displaying 16 results from an estimated 16 matches for "ocfs2_ioctl".
2011 Mar 31
3
[PATCH 1/3] VFS/ioctl: Add punching-hole support to ioctl().
We're currently support two paths from VFS to preallocate unwritten
extents(from FS_IOC_RESVSP, or fallocate()), likewise, behavior of
punching-hole should be treated as the same, this patch tries to teach
file_ioctl() to handle FS_IOC_UNRESVSP, underlying filesystem like ocfs2
is wise enough to do the rest of work;-)
Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
---
fs/ioctl.c
2011 Mar 31
3
[PATCH 1/3] VFS/ioctl: Add punching-hole support to ioctl().
We're currently support two paths from VFS to preallocate unwritten
extents(from FS_IOC_RESVSP, or fallocate()), likewise, behavior of
punching-hole should be treated as the same, this patch tries to teach
file_ioctl() to handle FS_IOC_UNRESVSP, underlying filesystem like ocfs2
is wise enough to do the rest of work;-)
Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
---
fs/ioctl.c
2023 Apr 18
1
[PATCH] ocfs2: reduce ioctl stack usage
Andrew picked ocfs2 patches into -mm tree before.
Thanks,
Joseph
On 4/18/23 5:17 PM, Christian Brauner wrote:
>
> On Mon, 17 Apr 2023 22:56:24 +0200, Arnd Bergmann wrote:
>> On 32-bit architectures with KASAN_STACK enabled, the total stack usage
>> of the ocfs2_ioctl function grows beyond the warning limit:
>>
>> fs/ocfs2/ioctl.c: In function 'ocfs2_ioctl':
>> fs/ocfs2/ioctl.c:934:1: error: the frame size of 1448 bytes is larger than 1400 bytes [-Werror=frame-larger-than=]
>>
>> Move each of the variables into a basic block...
2010 Nov 03
2
[PATCH 1/2] Ocfs2: Add a new code 'OCFS2_INFO_FREEINODE' for o2info ioctl.
...the flag on means no cluster
coherency considered, usually, userspace tools choose none-coherency strategy by
default for the sake of performace.
Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
---
fs/ocfs2/ioctl.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++++
fs/ocfs2/ocfs2_ioctl.h | 11 ++++++
2 files changed, 106 insertions(+), 0 deletions(-)
diff --git a/fs/ocfs2/ioctl.c b/fs/ocfs2/ioctl.c
index 7a48681..a60eaec 100644
--- a/fs/ocfs2/ioctl.c
+++ b/fs/ocfs2/ioctl.c
@@ -23,6 +23,7 @@
#include "ioctl.h"
#include "resize.h"
#include "refcounttr...
2023 Apr 18
3
[PATCH] ocfs2: reduce ioctl stack usage
...orward.
Thanks!
Christian
>
> Thanks,
> Joseph
>
> On 4/18/23 5:17 PM, Christian Brauner wrote:
> >
> > On Mon, 17 Apr 2023 22:56:24 +0200, Arnd Bergmann wrote:
> >> On 32-bit architectures with KASAN_STACK enabled, the total stack usage
> >> of the ocfs2_ioctl function grows beyond the warning limit:
> >>
> >> fs/ocfs2/ioctl.c: In function 'ocfs2_ioctl':
> >> fs/ocfs2/ioctl.c:934:1: error: the frame size of 1448 bytes is larger than 1400 bytes [-Werror=frame-larger-than=]
> >>
> >> Move each of the var...
2013 Jul 25
0
[PATCH V8 21/33] ocfs2: add support for read_iter and write_iter
...nst struct file_operations ocfs2_fops = {
.fsync = ocfs2_sync_file,
.release = ocfs2_file_release,
.open = ocfs2_file_open,
- .aio_read = ocfs2_file_aio_read,
- .aio_write = ocfs2_file_aio_write,
+ .read_iter = ocfs2_file_read_iter,
+ .write_iter = ocfs2_file_write_iter,
.unlocked_ioctl = ocfs2_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = ocfs2_compat_ioctl,
@@ -2734,8 +2727,8 @@ const struct file_operations ocfs2_fops_no_plocks = {
.fsync = ocfs2_sync_file,
.release = ocfs2_file_release,
.open = ocfs2_file_open,
- .aio_read = ocfs2_file_aio_read,
- .aio_write = ocfs2_file_aio_write...
2013 Jan 09
0
[PATCH V5 19/30] ocfs2: add support for read_iter, write_iter, and direct_IO_bvec
...nst struct file_operations ocfs2_fops = {
.fsync = ocfs2_sync_file,
.release = ocfs2_file_release,
.open = ocfs2_file_open,
- .aio_read = ocfs2_file_aio_read,
- .aio_write = ocfs2_file_aio_write,
+ .read_iter = ocfs2_file_read_iter,
+ .write_iter = ocfs2_file_write_iter,
.unlocked_ioctl = ocfs2_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = ocfs2_compat_ioctl,
@@ -2748,8 +2741,8 @@ const struct file_operations ocfs2_fops_no_plocks = {
.fsync = ocfs2_sync_file,
.release = ocfs2_file_release,
.open = ocfs2_file_open,
- .aio_read = ocfs2_file_aio_read,
- .aio_write = ocfs2_file_aio_write...
2010 Oct 25
7
[PATCH 0/6] Ocfs2-tools: Add a new tool 'o2info'.
Now it's a good time to introduce the new tool 'o2info' since kernel
part of OCFS2_IOC_INFO ioctl has been pulld upstream by linus.
The following 6 patches have already got sunil's SOBs, and now they're
trying to attract more reviewers before it goes to central repo with
a modification of getting manual pages being introduced.
2008 Jan 29
1
[PATCH] [11/18] BKL-removal: Convert ocfs2 over to unlocked_ioctl II
Andi Kleen <ak at suse.de> writes:
> As far as I can see there is nothing in ocfs2_ioctl that requires the BKL,
> so use unlocked_ioctl
Mark, can you please ack/nack this patch and ideally take it into your
tree? You're the only file system maintainer who hasn't acknowledged
yet.
Thanks,
-Andi
2010 Aug 19
0
[GIT PULL] ocfs2 changes for 2.6.36, part 2.
...fs/ocfs2/inode.c | 6 +-
fs/ocfs2/inode.h | 11 +-
fs/ocfs2/ioctl.c | 356 +++++++++++++++++++++++++++++++++++++++++++++++
fs/ocfs2/journal.c | 9 +-
fs/ocfs2/journal.h | 3 +-
fs/ocfs2/mmap.c | 7 +-
fs/ocfs2/ocfs2.h | 23 ++-
fs/ocfs2/ocfs2_ioctl.h | 95 +++++++++++++
fs/ocfs2/refcounttree.c | 43 ++++++-
fs/ocfs2/refcounttree.h | 7 +-
fs/ocfs2/super.c | 51 ++++++-
include/linux/fs.h | 2 +
20 files changed, 645 insertions(+), 78 deletions(-)
2010 Oct 22
0
[GIT PULL] ocfs2 changes for 2.6.37
.../ocfs2/journal.c | 9 +-
fs/ocfs2/journal.h | 3 +-
fs/ocfs2/mmap.c | 7 +-
fs/ocfs2/namei.c | 3 +-
fs/ocfs2/ocfs2.h | 63 ++++-
fs/ocfs2/ocfs2_fs.h | 46 +++-
fs/ocfs2/ocfs2_ioctl.h | 95 ++++++
fs/ocfs2/refcounttree.c | 43 +++-
fs/ocfs2/refcounttree.h | 7 +-
fs/ocfs2/slot_map.c | 2 +-
fs/ocfs2/stack_o2cb.c | 2 +
fs/ocfs2/suballoc.c | 16 +
fs/ocfs2/super.c...
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
The following series of patches comprises the bulk of our outstanding
changes for Ocfs2.
Aside from the usual set of cleanups and fixes that were inappropriate for
2.6.25, there are a few highlights:
The '/sys/o2cb' directory has been moved to '/sys/fs/o2cb'. The new location
meshes better with modern sysfs layout. A symbolic link has been placed in
the old location so as to
2011 Mar 07
4
[PATCH 0/3] ocfs2: Add batched discard support
Hi all,
This patch set adds batched discard support to ocfs2. Please check. Thanks.
Regards,
Tao
2009 Mar 27
42
[PATCH 00/42] ocfs2: Add reflink file support. V1
Hi all,
So I have finally finished the v1 of reflink for ocfs2. It has some
bugs that I am still investigating, but the schema is almost there. So
I'd like to send it out first for review. And Tristan and I will
continue to work on the stability of the code.
The general information for reflink, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.
For the design doc, please
2009 Apr 03
42
[PATCH 00/42] ocfs2: Add reflink file support. V2
Hi all,
Change from v1 to v2: bug fix and metadata/credits reservation
improvement.
The general information for reflink, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.
For the design doc, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/RefcountTrees
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/ReflinkOperation
2009 Apr 30
42
[PATCH 00/39] ocfs2: Add reflink file support. V3
Hi all,
So I have finally finished the v3 of reflink for ocfs2. The biggest
change is that we support 64bit cluster offset now(Thank Mark and Joel
for it).
[View]
http://oss.oracle.com/git/?p=tma/linux-2.6.git;a=shortlog;h=refcount
[Pull]
git://oss.oracle.com/git/tma/linux-2.6.git refcount
The general information for reflink, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.