Displaying 20 results from an estimated 100 matches similar to: "[PATCH 1/3] VFS/ioctl: Add punching-hole support to ioctl()."
2009 Jan 28
2
[PATCH] fs: Add new pre-allocation ioctls to vfs for compatibility with legacy xfs ioctls
Al, Could this be included in the vfs queue?
This patch adds ioctls to vfs for compatibility with legacy XFS
pre-allocation ioctls (XFS_IOC_*RESVP*). The implementation
effectively invokes sys_fallocate for the new ioctls.
Also handles the compat_ioctl case.
Note: These legacy ioctls are also implemented by OCFS2.
Signed-off-by: Ankit Jain <me at ankitjain.org>
Reviewed-by: Christoph
2023 May 29
4
[PATCH] ocfs2: check new file size on fallocate call
When changing a file size with fallocate() the new size isn't being
checked. In particular, the FSIZE ulimit isn't being checked, which makes
fstest generic/228 fail. Simply adding a call to inode_newsize_ok() fixes
this issue.
Signed-off-by: Lu?s Henriques <lhenriques at suse.de>
---
fs/ocfs2/file.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git
2023 May 31
2
[PATCH] ocfs2: check new file size on fallocate call
On 5/29/23 11:26 PM, Lu?s Henriques wrote:
> When changing a file size with fallocate() the new size isn't being
> checked. In particular, the FSIZE ulimit isn't being checked, which makes
> fstest generic/228 fail. Simply adding a call to inode_newsize_ok() fixes
> this issue.
>
> Signed-off-by: Lu?s Henriques <lhenriques at suse.de>
> ---
>
2007 Nov 16
8
[PATCH 0/6] Add online resize for ocfs2-tools,take 1
Add online resize in tunefs.ocfs2 so that user can increase
the volume when it is mounted.
2023 May 31
0
[PATCH] ocfs2: check new file size on fallocate call
On 5/31/23 4:29 PM, Lu?s Henriques wrote:
> Joseph Qi <joseph.qi at linux.alibaba.com> writes:
>
>> On 5/29/23 11:26 PM, Lu?s Henriques wrote:
>>> When changing a file size with fallocate() the new size isn't being
>>> checked. In particular, the FSIZE ulimit isn't being checked, which makes
>>> fstest generic/228 fail. Simply adding a call
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 4.14-stable tree
This is a note to let you know that I've just added the patch titled
ocfs2: check new file size on fallocate call
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ocfs2-check-new-file-size-on-fallocate-call.patch
and it can be found in the queue-4.14 subdirectory.
If
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 4.19-stable tree
This is a note to let you know that I've just added the patch titled
ocfs2: check new file size on fallocate call
to the 4.19-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ocfs2-check-new-file-size-on-fallocate-call.patch
and it can be found in the queue-4.19 subdirectory.
If
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 5.4-stable tree
This is a note to let you know that I've just added the patch titled
ocfs2: check new file size on fallocate call
to the 5.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ocfs2-check-new-file-size-on-fallocate-call.patch
and it can be found in the queue-5.4 subdirectory.
If you,
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 5.10-stable tree
This is a note to let you know that I've just added the patch titled
ocfs2: check new file size on fallocate call
to the 5.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ocfs2-check-new-file-size-on-fallocate-call.patch
and it can be found in the queue-5.10 subdirectory.
If
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 5.15-stable tree
This is a note to let you know that I've just added the patch titled
ocfs2: check new file size on fallocate call
to the 5.15-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ocfs2-check-new-file-size-on-fallocate-call.patch
and it can be found in the queue-5.15 subdirectory.
If
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 6.1-stable tree
This is a note to let you know that I've just added the patch titled
ocfs2: check new file size on fallocate call
to the 6.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ocfs2-check-new-file-size-on-fallocate-call.patch
and it can be found in the queue-6.1 subdirectory.
If you,
2023 Jun 17
0
Patch "ocfs2: check new file size on fallocate call" has been added to the 6.3-stable tree
This is a note to let you know that I've just added the patch titled
ocfs2: check new file size on fallocate call
to the 6.3-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ocfs2-check-new-file-size-on-fallocate-call.patch
and it can be found in the queue-6.3 subdirectory.
If you,
2023 May 31
0
+ ocfs2-check-new-file-size-on-fallocate-call.patch added to mm-nonmm-unstable branch
The patch titled
Subject: ocfs2: check new file size on fallocate call
has been added to the -mm mm-nonmm-unstable branch. Its filename is
ocfs2-check-new-file-size-on-fallocate-call.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/ocfs2-check-new-file-size-on-fallocate-call.patch
This patch will later appear in
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':
2012 Jul 27
1
kernel BUG at fs/buffer.c:2886! Linux 3.5.0
Hello
Get this on first write made ( by deliver sending mail to inform of the
restart of services )
Home partition (the one receiving the mail) is based on ocfs2 created
from drbd block device in primary/primary mode
These drbd devices are based on lvm.
system is running linux-3.5.0, identical symptom with linux 3.3 and 3.2
but working with linux 3.0 kernel
reproduced on two machines ( so
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.
2010 Nov 03
2
[PATCH 1/2] Ocfs2: Add a new code 'OCFS2_INFO_FREEINODE' for o2info ioctl.
The new code is dedicated to calculate free inodes number of all inode_allocs,
then return the info to userpace in terms of an array.
Specially, flag 'OCFS2_INFO_FL_NON_COHERENT', manipulated by '--cluster-coherent'
from userspace, is now going to be involved. setting the flag on means no cluster
coherency considered, usually, userspace tools choose none-coherency strategy by
2013 Mar 15
0
It may be an ocfs2 bug.
Hi, every one:
In the function:
static long ocfs2_fallocate(struct file *file, int mode, loff_t offset,
loff_t len)
{
...
return __ocfs2_change_file_space(NULL, inode, offset, cmd, &sr,
change_size);
}
The NULL should be file, such as below, one of our coworker found it.
static long ocfs2_fallocate(struct file
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
2013 Sep 03
1
[PATCH V3 RESENT] ocfs2: lighten up allocate transaction
Hi Andrew Morton,
The patch "[patch 05/22] ocfs2: lighten up allocate transaction" in mm tree
is not the newest one, please drop it from mm tree. This patch V3 is newest,
please replace it. Thanks.
The issue scenario is as following:
When fallocating a very large disk space for a small file,
__ocfs2_extend_allocation attempts to get a very large transaction.
For some journal