Displaying 6 results from an estimated 6 matches for "ocfs2_write_zero_pag".
Did you mean:
ocfs2_write_zero_page
2013 Jun 19
1
ocfs2: Should move ocfs2_start_trans out of lock_page
...lock_page are in
ext4_journal_start/ext4_journal_stop, this can avoid such kind of dead
lock. So I think we should move ocfs2_start_trans/ocfs2_commit_trans out
of lock_page/unlock_page.
Totally there are 5 related functions:
ocfs2_write_begin_nolock
ocfs2_write_begin_inline
ocfs2_write_end_nolock
ocfs2_write_zero_page
ocfs2_convert_inline_data_to_extents
2023 Jun 19
0
[PATCH v1 4/5] fs/ocfs2: No need to check return value of block_commit_write()
...Honza
> ---
> fs/ocfs2/file.c | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
> index efb09de4343d..39d8dbb26bb3 100644
> --- a/fs/ocfs2/file.c
> +++ b/fs/ocfs2/file.c
> @@ -808,12 +808,7 @@ static int ocfs2_write_zero_page(struct inode *inode, u64 abs_from,
>
>
> /* must not update i_size! */
> - ret = block_commit_write(page, block_start + 1,
> - block_start + 1);
> - if (ret < 0)
> - mlog_errno(ret);
> - else
> - ret = 0;
> + block_commit_write(page, block_start...
2010 Jul 16
0
[GIT PULL] Important ocfs2 fixes for 2.6.35
...jbd2/ocfs2: Fix block checksumming when a buffer is used in several transactions
Joel Becker (4):
ocfs2: When zero extending, do it by page.
ocfs2: Zero the tail cluster when extending past i_size.
ocfs2: No need to zero pages past i_size.
ocfs2: Silence gcc warning in ocfs2_write_zero_page().
Julia Lawall (1):
fs/ocfs2/dlm: Add missing spin_unlock
Tao Ma (6):
ocfs2: Move orphan scan work to ocfs2_wq.
ocfs2: Limit default local alloc size within bitmap range.
ocfs2: Remove the redundant cpu_to_le64.
ocfs2: make xattr extension work with new local alloc...
2023 Jul 02
0
+ fs-convert-block_commit_write-to-return-void.patch added to mm-unstable branch
...e(&folio[0]->page, from, from + replaced_size);
/* Even in case of data=writeback it is reasonable to pin
* inode to transaction, to prevent unexpected data loss */
--- a/fs/ocfs2/file.c~fs-convert-block_commit_write-to-return-void
+++ a/fs/ocfs2/file.c
@@ -808,12 +808,7 @@ static int ocfs2_write_zero_page(struct
/* must not update i_size! */
- ret = block_commit_write(page, block_start + 1,
- block_start + 1);
- if (ret < 0)
- mlog_errno(ret);
- else
- ret = 0;
+ block_commit_write(page, block_start + 1, block_start + 1);
}
/*
--- a/fs/udf/file.c~fs-convert-block_commit...
2023 Jun 19
9
[PATCH v2 0/5] clean up block_commit_write
Changelog:
v1--v2:
1. Re-order patches to avoid breaking compilation.
Bean Huo (5):
fs/buffer: clean up block_commit_write
ext4: No need to check return value of block_commit_write()
fs/ocfs2: No need to check return value of block_commit_write()
udf: No need to check return value of block_commit_write()
fs/buffer.c: convert block_commit_write to return void
fs/buffer.c
2023 Jun 18
11
[PATCH v1 0/5] clean up block_commit_write
*** BLURB HERE ***
Bean Huo (5):
fs/buffer: clean up block_commit_write
fs/buffer.c: convert block_commit_write to return void
ext4: No need to check return value of block_commit_write()
fs/ocfs2: No need to check return value of block_commit_write()
udf: No need to check return value of block_commit_write()
fs/buffer.c | 24 +++++++-----------------