Displaying 20 results from an estimated 110 matches similar to: "[PATCH 1/2] ocfs2: correct return value of ocfs2_local_free_info()"
2023 May 20
3
[PATCH v21 22/30] ocfs2: Provide a splice-read stub
Provide a splice_read stub for ocfs2. This emits trace lines and does an
atime lock/update before calling filemap_splice_read(). Splicing from
direct I/O is handled by the caller.
A couple of new tracepoints are added for this purpose.
Signed-off-by: David Howells <dhowells at redhat.com>
cc: Christoph Hellwig <hch at lst.de>
cc: Al Viro <viro at zeniv.linux.org.uk>
cc: Jens
2013 Jul 25
0
[PATCH V8 21/33] ocfs2: add support for read_iter and write_iter
Signed-off-by: Dave Kleikamp <dave.kleikamp at oracle.com>
Acked-by: Joel Becker <jlbec at evilplan.org>
Cc: Zach Brown <zab at zabbo.net>
Cc: Mark Fasheh <mfasheh at suse.com>
Cc: ocfs2-devel at oss.oracle.com
---
fs/ocfs2/aops.h | 2 +-
fs/ocfs2/file.c | 55 ++++++++++++++++++++++----------------------------
fs/ocfs2/ocfs2_trace.h | 6 +++---
3 files
2013 Jan 09
0
[PATCH V5 19/30] ocfs2: add support for read_iter, write_iter, and direct_IO_bvec
From: Zach Brown <zab@zabbo.net>
ocfs2''s .aio_read and .aio_write methods are changed to take
iov_iter and pass it to generic functions. Wrappers are made to pack
the iovecs into iters and call these new functions.
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Zach Brown <zab@zabbo.net>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker
2023 May 19
0
[PATCH v20 19/32] ocfs2: Provide a splice-read stub
Provide a splice_read stub for ocfs2. This emits trace lines and does an
atime lock/update before calling filemap_splice_read(). It doesn't do this
for around direct_splice_read() as that will call ->read_iter().
A couple of new tracepoints are added for this purpose.
Signed-off-by: David Howells <dhowells at redhat.com>
cc: Christoph Hellwig <hch at lst.de>
cc: Al Viro
2008 Oct 20
0
[PATCH] ocfs2: Implement quota syncing thread
This patch implements functions and timer setup which handles periodic
syncing of locally cached quota information to global quota file.
Signed-off-by: Jan Kara <jack at suse.cz>
---
fs/ocfs2/quota.h | 3 ++
fs/ocfs2/quota_global.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++
fs/ocfs2/quota_local.c | 4 +++
3 files changed, 73 insertions(+), 0 deletions(-)
diff
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
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
2009 Apr 07
0
[PATCH 1/1] OCFS2: use i_size_read() instead of direct accessing inode->i_size
use i_size_read() instead of accessing inode->i_size directly.
Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com>
--
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c
index b2c52b3..4491851 100644
--- a/fs/ocfs2/aops.c
+++ b/fs/ocfs2/aops.c
@@ -1920,7 +1920,7 @@ int ocfs2_write_end_nolock(struct address_space *mapping,
out_write_size:
pos += copied;
- if (pos >
2023 May 23
1
[PATCH v2] ocfs2: fix use-after-free when unmounting read-only filesystem
It's trivial to trigger a use-after-free bug in the ocfs2 quotas code using
fstest generic/452. After a read-only remount, quotas are suspended and
ocfs2_mem_dqinfo is freed through ->ocfs2_local_free_info(). When unmounting
the filesystem, an UAF access to the oinfo will eventually cause a crash.
BUG: KASAN: slab-use-after-free in timer_delete+0x54/0xc0
Read of size 8 at addr
2023 May 24
0
[PATCH v2] ocfs2: fix use-after-free when unmounting read-only filesystem
On 5/23/23 5:33 PM, Lu?s Henriques wrote:
> It's trivial to trigger a use-after-free bug in the ocfs2 quotas code using
> fstest generic/452. After a read-only remount, quotas are suspended and
> ocfs2_mem_dqinfo is freed through ->ocfs2_local_free_info(). When unmounting
> the filesystem, an UAF access to the oinfo will eventually cause a crash.
>
> BUG: KASAN:
2023 May 26
1
+ ocfs2-fix-use-after-free-when-unmounting-read-only-filesystem.patch added to mm-hotfixes-unstable branch
On Fri, 26 May 2023 09:36:25 +0800 Joseph Qi <joseph.qi at linux.alibaba.com> wrote:
> Hi Andrew,
>
> There is an updated version v2, which describe more clearly about the
> case:
> https://lore.kernel.org/ocfs2-devel/e9fc4b2f-1fcc-7c31-f346-59eccff50f9b at linux.alibaba.com/T/#u
Sigh. Thanks.
As you can see from the above link, the email never hit ocfs2-devel and
never
2023 Jun 17
0
Patch "ocfs2: fix use-after-free when unmounting read-only filesystem" 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: fix use-after-free when unmounting read-only filesystem
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-fix-use-after-free-when-unmounting-read-only-filesystem.patch
and it can be found in
2023 Jun 17
0
Patch "ocfs2: fix use-after-free when unmounting read-only filesystem" 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: fix use-after-free when unmounting read-only filesystem
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-fix-use-after-free-when-unmounting-read-only-filesystem.patch
and it can be found in
2023 Jun 17
0
Patch "ocfs2: fix use-after-free when unmounting read-only filesystem" 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: fix use-after-free when unmounting read-only filesystem
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-fix-use-after-free-when-unmounting-read-only-filesystem.patch
and it can be found in
2023 Jun 17
0
Patch "ocfs2: fix use-after-free when unmounting read-only filesystem" 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: fix use-after-free when unmounting read-only filesystem
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-fix-use-after-free-when-unmounting-read-only-filesystem.patch
and it can be found in
2023 Jun 17
0
Patch "ocfs2: fix use-after-free when unmounting read-only filesystem" 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: fix use-after-free when unmounting read-only filesystem
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-fix-use-after-free-when-unmounting-read-only-filesystem.patch
and it can be found in
2023 Jun 17
0
Patch "ocfs2: fix use-after-free when unmounting read-only filesystem" 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: fix use-after-free when unmounting read-only filesystem
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-fix-use-after-free-when-unmounting-read-only-filesystem.patch
and it can be found in
2023 Jun 17
0
Patch "ocfs2: fix use-after-free when unmounting read-only filesystem" 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: fix use-after-free when unmounting read-only filesystem
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-fix-use-after-free-when-unmounting-read-only-filesystem.patch
and it can be found in
2023 May 25
1
+ ocfs2-fix-use-after-free-when-unmounting-read-only-filesystem.patch added to mm-hotfixes-unstable branch
The patch titled
Subject: ocfs2: fix use-after-free when unmounting read-only filesystem
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
ocfs2-fix-use-after-free-when-unmounting-read-only-filesystem.patch
This patch will shortly appear at
2009 Jun 16
0
[GIT PULL] ocfs2 updates for 2.6.31
Linus, et al,
Here are the ocfs2 updates for 2.6.31. It's a quiet cycle,
almost completely composed of fixes. There is a nice performance
improvement from Hisashi Hifumi for fdatasync. Please pull.
Joel
The following changes since commit b4348f32dae3cb6eb4bc21c7ed8f76c0b11e9d6a:
Linus Torvalds (1):
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
are available in