search for: generic_cont_expand_simple

Displaying 5 results from an estimated 5 matches for "generic_cont_expand_simple".

2023 Jun 19
1
[PATCH v1 2/5] fs/buffer.c: convert block_commit_write to return void
...index 1520793c72da..873653d2f1aa 100644 > --- a/include/linux/buffer_head.h > +++ b/include/linux/buffer_head.h > @@ -284,7 +284,7 @@ int cont_write_begin(struct file *, struct address_space *, loff_t, > unsigned, struct page **, void **, > get_block_t *, loff_t *); > int generic_cont_expand_simple(struct inode *inode, loff_t size); > -int block_commit_write(struct page *page, unsigned from, unsigned to); > +void block_commit_write(struct page *page, unsigned int from, unsigned int to); > int block_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf, > get_block_t...
2023 Jul 02
0
+ fs-convert-block_commit_write-to-return-void.patch added to mm-unstable branch
...set_page_dirty(page); wait_for_stable_page(page); --- a/include/linux/buffer_head.h~fs-convert-block_commit_write-to-return-void +++ a/include/linux/buffer_head.h @@ -288,7 +288,7 @@ int cont_write_begin(struct file *, stru unsigned, struct page **, void **, get_block_t *, loff_t *); int generic_cont_expand_simple(struct inode *inode, loff_t size); -int block_commit_write(struct page *page, unsigned from, unsigned to); +void block_commit_write(struct page *page, unsigned int from, unsigned int to); int block_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf, get_block_t get_block); /* Conv...
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 +++++++-----------------
2011 Jun 24
10
[PATCH 0/9] remove i_alloc_sem V2
i_alloc_sem has always been a bit of an odd "lock". It''s the only remaining rw_semaphore that can be released by a different thread than the one that locked it, and it''s use case in the core direct I/O code is more like a counter given that the writers already have external serialization. This series removes it in favour of a simpler counter scheme, thus getting rid