Re: [Cluster-devel] [PATCH v7 19/20] fs: iomap: use bio_add_folio_nofail where possible

2023-05-31 Thread Dave Chinner
On Thu, Jun 01, 2023 at 06:20:21AM +0200, Christoph Hellwig wrote: > On Thu, Jun 01, 2023 at 08:36:59AM +1000, Dave Chinner wrote: > > We lose adjacent page merging with this change. > > This is only used for adding the first folio to a brand new bio, > so there is nothing to merge with yet at

Re: [Cluster-devel] [PATCH v7 19/20] fs: iomap: use bio_add_folio_nofail where possible

2023-05-31 Thread Christoph Hellwig
On Thu, Jun 01, 2023 at 08:36:59AM +1000, Dave Chinner wrote: > We lose adjacent page merging with this change. This is only used for adding the first folio to a brand new bio, so there is nothing to merge with yet at this point.

Re: [Cluster-devel] [PATCH 01/12] backing_dev: remove current->backing_dev_info

2023-05-31 Thread Theodore Ts'o
On Wed, May 31, 2023 at 09:50:15AM +0200, Christoph Hellwig wrote: > The last user of current->backing_dev_info disappeared in commit > b9b1335e6403 ("remove bdi_congested() and wb_congested() and related > functions"). Remove the field and all assignments to it. > > Signed-off-by: Christoph

Re: [Cluster-devel] [PATCH 03/12] filemap: update ki_pos in generic_perform_write

2023-05-31 Thread Theodore Ts'o
On Wed, May 31, 2023 at 09:50:17AM +0200, Christoph Hellwig wrote: > All callers of generic_perform_write need to updated ki_pos, move it into > common code. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Xiubo Li > Reviewed-by: Damien Le Moal > Reviewed-by: Hannes Reinecke > Acked-by:

Re: [Cluster-devel] [PATCH v7 19/20] fs: iomap: use bio_add_folio_nofail where possible

2023-05-31 Thread Dave Chinner
On Wed, May 31, 2023 at 04:50:42AM -0700, Johannes Thumshirn wrote: > When the iomap buffered-io code can't add a folio to a bio, it allocates a > new bio and adds the folio to that one. This is done using bio_add_folio(), > but doesn't check for errors. > > As adding a folio to a newly created

[Cluster-devel] [PATCH dlm-tool] Revert "dlm_controld: bind to all interfaces for failover"

2023-05-31 Thread Alexander Aring
This reverts commit 7a273b8714da400d292d6c9762acedcde1997e52. The "bind_all" per comms configfs never came upstream. --- dlm_controld/action.c | 19 --- dlm_controld/dlm.conf.5 | 2 -- dlm_controld/dlm_daemon.h | 1 - dlm_controld/main.c | 5 - 4 files changed,

Re: [Cluster-devel] [PATCH v7 00/20] bio: check return values of bio_add_page

2023-05-31 Thread Jens Axboe
On Wed, 31 May 2023 04:50:23 -0700, Johannes Thumshirn wrote: > We have two functions for adding a page to a bio, __bio_add_page() which is > used to add a single page to a freshly created bio and bio_add_page() which is > used to add a page to an existing bio. > > While __bio_add_page() is

Re: [Cluster-devel] [PATCH 01/12] backing_dev: remove current->backing_dev_info

2023-05-31 Thread Christian Brauner
On Wed, May 31, 2023 at 09:50:15AM +0200, Christoph Hellwig wrote: > The last user of current->backing_dev_info disappeared in commit > b9b1335e6403 ("remove bdi_congested() and wb_congested() and related > functions"). Remove the field and all assignments to it. > > Signed-off-by: Christoph

Re: [Cluster-devel] [PATCH v7 20/20] block: mark bio_add_folio as __must_check

2023-05-31 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig

Re: [Cluster-devel] [PATCH v7 17/20] block: mark bio_add_page as __must_check

2023-05-31 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig

Re: [Cluster-devel] [PATCH v7 18/20] block: add bio_add_folio_nofail

2023-05-31 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig

[Cluster-devel] [PATCH v7 14/20] md: raid1: use __bio_add_page for adding single page to bio

2023-05-31 Thread Johannes Thumshirn
The sync request code uses bio_add_page() to add a page to a newly created bio. bio_add_page() can fail, but the return value is never checked. Use __bio_add_page() as adding a single page to a newly created bio is guaranteed to succeed. This brings us a step closer to marking bio_add_page() as

[Cluster-devel] [PATCH v7 10/20] zonefs: use __bio_add_page for adding single page to bio

2023-05-31 Thread Johannes Thumshirn
The zonefs superblock reading code uses bio_add_page() to add a page to a newly created bio. bio_add_page() can fail, but the return value is never checked. Use __bio_add_page() as adding a single page to a newly created bio is guaranteed to succeed. This brings us a step closer to marking

[Cluster-devel] [PATCH v7 04/20] fs: buffer: use __bio_add_page to add single page to bio

2023-05-31 Thread Johannes Thumshirn
The buffer_head submission code uses bio_add_page() to add a page to a newly created bio. bio_add_page() can fail, but the return value is never checked. Use __bio_add_page() as adding a single page to a newly created bio is guaranteed to succeed. This brings us a step closer to marking

[Cluster-devel] [PATCH v7 16/20] dm-crypt: use __bio_add_page to add single page to clone bio

2023-05-31 Thread Johannes Thumshirn
crypt_alloc_buffer() already allocates enough entries in the clone bio's vector, so adding a page to the bio can't fail. Use __bio_add_page() to reflect this. Signed-off-by: Johannes Thumshirn --- drivers/md/dm-crypt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[Cluster-devel] [PATCH v7 17/20] block: mark bio_add_page as __must_check

2023-05-31 Thread Johannes Thumshirn
Now that all users of bio_add_page check for the return value, mark bio_add_page as __must_check. Reviewed-by: Damien Le Moal Signed-off-by: Johannes Thumshirn --- include/linux/bio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/bio.h

[Cluster-devel] [PATCH v7 05/20] md: use __bio_add_page to add single page

2023-05-31 Thread Johannes Thumshirn
The md-raid superblock writing code uses bio_add_page() to add a page to a newly created bio. bio_add_page() can fail, but the return value is never checked. Use __bio_add_page() as adding a single page to a newly created bio is guaranteed to succeed. This brings us a step closer to marking

[Cluster-devel] [PATCH v7 19/20] fs: iomap: use bio_add_folio_nofail where possible

2023-05-31 Thread Johannes Thumshirn
When the iomap buffered-io code can't add a folio to a bio, it allocates a new bio and adds the folio to that one. This is done using bio_add_folio(), but doesn't check for errors. As adding a folio to a newly created bio can't fail, use the newly introduced bio_add_folio_nofail() function.

[Cluster-devel] [PATCH v7 08/20] jfs: logmgr: use __bio_add_page to add single page to bio

2023-05-31 Thread Johannes Thumshirn
The JFS IO code uses bio_add_page() to add a page to a newly created bio. bio_add_page() can fail, but the return value is never checked. Use __bio_add_page() as adding a single page to a newly created bio is guaranteed to succeed. This brings us a step closer to marking bio_add_page() as

Re: [Cluster-devel] [PATCH v6 00/20] bio: check return values of bio_add_page

2023-05-31 Thread Johannes Thumshirn
Oops I've accidentally re-send v6 instead of v7. My apologies.

[Cluster-devel] [PATCH v7 13/20] md: check for failure when adding pages in alloc_behind_master_bio

2023-05-31 Thread Johannes Thumshirn
alloc_behind_master_bio() can possibly add multiple pages to a bio, but it is not checking for the return value of bio_add_page() if adding really succeeded. Check if the page adding succeeded and if not bail out. Reviewed-by: Christoph Hellwig Acked-by: Song Liu Reviewed-by: Damien Le Moal

[Cluster-devel] [PATCH v7 03/20] dm: dm-zoned: use __bio_add_page for adding single metadata page

2023-05-31 Thread Johannes Thumshirn
dm-zoned uses bio_add_page() for adding a single page to a freshly created metadata bio. Use __bio_add_page() instead as adding a single page to a new bio is always guaranteed to succeed. This brings us a step closer to marking bio_add_page() __must_check Reviewed-by: Damien Le Moal

[Cluster-devel] [PATCH v7 15/20] md: raid1: check if adding pages to resync bio fails

2023-05-31 Thread Johannes Thumshirn
Check if adding pages to resync bio fails and if bail out. As the comment above suggests this cannot happen, WARN if it actually happens. Technically __bio_add_pages() would be sufficient here, but asserting the pages actually get added to the bio is preferred. This way we can mark bio_add_pages

[Cluster-devel] [PATCH v7 18/20] block: add bio_add_folio_nofail

2023-05-31 Thread Johannes Thumshirn
Just like for bio_add_pages() add a no-fail variant for bio_add_folio(). Reviewed-by: Matthew Wilcox (Oracle) Signed-off-by: Johannes Thumshirn --- block/bio.c | 8 include/linux/bio.h | 2 ++ 2 files changed, 10 insertions(+) diff --git a/block/bio.c b/block/bio.c index

[Cluster-devel] [PATCH v7 02/20] drbd: use __bio_add_page to add page to bio

2023-05-31 Thread Johannes Thumshirn
The drbd code only adds a single page to a newly created bio. So use __bio_add_page() to add the page which is guaranteed to succeed in this case. This brings us closer to marking bio_add_page() as __must_check. Reviewed-by: Damien Le Moal Signed-off-by: Johannes Thumshirn ---

[Cluster-devel] [PATCH v7 06/20] md: raid5-log: use __bio_add_page to add single page

2023-05-31 Thread Johannes Thumshirn
The raid5 log metadata submission code uses bio_add_page() to add a page to a newly created bio. bio_add_page() can fail, but the return value is never checked. Use __bio_add_page() as adding a single page to a newly created bio is guaranteed to succeed. This brings us a step closer to marking

[Cluster-devel] [PATCH v7 09/20] gfs2: use __bio_add_page for adding single page to bio

2023-05-31 Thread Johannes Thumshirn
The GFS2 superblock reading code uses bio_add_page() to add a page to a newly created bio. bio_add_page() can fail, but the return value is never checked. Use __bio_add_page() as adding a single page to a newly created bio is guaranteed to succeed. This brings us a step closer to marking

[Cluster-devel] [PATCH v7 00/20] bio: check return values of bio_add_page

2023-05-31 Thread Johannes Thumshirn
We have two functions for adding a page to a bio, __bio_add_page() which is used to add a single page to a freshly created bio and bio_add_page() which is used to add a page to an existing bio. While __bio_add_page() is expected to succeed, bio_add_page() can fail. This series converts the

[Cluster-devel] [PATCH v7 20/20] block: mark bio_add_folio as __must_check

2023-05-31 Thread Johannes Thumshirn
Now that all callers of bio_add_folio() check the return value, mark it as __must_check. Reviewed-by: Matthew Wilcox (Oracle) Signed-off-by: Johannes Thumshirn --- include/linux/bio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/bio.h

[Cluster-devel] [PATCH v7 07/20] md: raid5: use __bio_add_page to add single page to new bio

2023-05-31 Thread Johannes Thumshirn
The raid5-ppl submission code uses bio_add_page() to add a page to a newly created bio. bio_add_page() can fail, but the return value is never checked. For adding consecutive pages, the return is actually checked and a new bio is allocated if adding the page fails. Use __bio_add_page() as adding

[Cluster-devel] [PATCH v7 12/20] floppy: use __bio_add_page for adding single page to bio

2023-05-31 Thread Johannes Thumshirn
The floppy code uses bio_add_page() to add a page to a newly created bio. bio_add_page() can fail, but the return value is never checked. Use __bio_add_page() as adding a single page to a newly created bio is guaranteed to succeed. This brings us a step closer to marking bio_add_page() as

[Cluster-devel] [PATCH v7 11/20] zram: use __bio_add_page for adding single page to bio

2023-05-31 Thread Johannes Thumshirn
The zram writeback code uses bio_add_page() to add a page to a newly created bio. bio_add_page() can fail, but the return value is never checked. Use __bio_add_page() as adding a single page to a newly created bio is guaranteed to succeed. This brings us a step closer to marking bio_add_page()

[Cluster-devel] [PATCH v7 01/20] swap: use __bio_add_page to add page to bio

2023-05-31 Thread Johannes Thumshirn
The swap code only adds a single page to a newly created bio. So use __bio_add_page() to add the page which is guaranteed to succeed in this case. This brings us closer to marking bio_add_page() as __must_check. Reviewed-by: Damien Le Moal Reviewed-by: Christoph Hellwig Signed-off-by: Johannes

Re: [Cluster-devel] [PATCH 01/12] backing_dev: remove current->backing_dev_info

2023-05-31 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [Cluster-devel] [PATCH 10/12] fuse: update ki_pos in fuse_perform_write

2023-05-31 Thread Miklos Szeredi
On Wed, 31 May 2023 at 09:51, Christoph Hellwig wrote: > > Both callers of fuse_perform_write need to updated ki_pos, move it into > common code. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Damien Le Moal > --- > fs/fuse/file.c | 23 ++- > 1 file changed, 10

Re: [Cluster-devel] [PATCH 09/12] fs: factor out a direct_write_fallback helper

2023-05-31 Thread Miklos Szeredi
On Wed, 31 May 2023 at 09:50, Christoph Hellwig wrote: > > Add a helper dealing with handling the syncing of a buffered write fallback > for direct I/O. > > Signed-off-by: Christoph Hellwig Reviewed-by: Miklos Szeredi

Re: [Cluster-devel] [PATCH 12/12] fuse: use direct_write_fallback

2023-05-31 Thread Miklos Szeredi
On Wed, 31 May 2023 at 09:51, Christoph Hellwig wrote: > > Use the generic direct_write_fallback helper instead of duplicating the > logic. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Damien Le Moal > --- > fs/fuse/file.c | 24 ++-- > 1 file changed, 2

Re: [Cluster-devel] [PATCH 09/12] fs: factor out a direct_write_fallback helper

2023-05-31 Thread Damien Le Moal
On 5/31/23 16:50, Christoph Hellwig wrote: > Add a helper dealing with handling the syncing of a buffered write fallback > for direct I/O. > > Signed-off-by: Christoph Hellwig Looks OK to me. Reviewed-by: Damien Le Moal -- Damien Le Moal Western Digital Research

Re: [Cluster-devel] [PATCH 01/12] backing_dev: remove current->backing_dev_info

2023-05-31 Thread Damien Le Moal
On 5/31/23 16:50, Christoph Hellwig wrote: > The last user of current->backing_dev_info disappeared in commit > b9b1335e6403 ("remove bdi_congested() and wb_congested() and related > functions"). Remove the field and all assignments to it. > > Signed-off-by: Christoph Hellwig > Reviewed-by:

[Cluster-devel] [PATCH 3/8] filemap: update ki_pos in generic_perform_write

2023-05-31 Thread Christoph Hellwig
All callers of generic_perform_write need to updated ki_pos, move it into common code. Signed-off-by: Christoph Hellwig Reviewed-by: Xiubo Li Reviewed-by: Damien Le Moal Reviewed-by: Hannes Reinecke Acked-by: Darrick J. Wong --- fs/ceph/file.c | 2 -- fs/ext4/file.c | 9 +++--

[Cluster-devel] [PATCH 01/12] backing_dev: remove current->backing_dev_info

2023-05-31 Thread Christoph Hellwig
The last user of current->backing_dev_info disappeared in commit b9b1335e6403 ("remove bdi_congested() and wb_congested() and related functions"). Remove the field and all assignments to it. Signed-off-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Reviewed-by: Darrick J. Wong ---

[Cluster-devel] cleanup the filemap / direct I/O interaction v3

2023-05-31 Thread Christoph Hellwig
Hi all, this series cleans up some of the generic write helper calling conventions and the page cache writeback / invalidation for direct I/O. This is a spinoff from the no-bufferhead kernel project, for which we'll want to an use iomap based buffered write path in the block layer. Changes

[Cluster-devel] [PATCH 2/8] iomap: update ki_pos a little later in iomap_dio_complete

2023-05-31 Thread Christoph Hellwig
Move the ki_pos update down a bit to prepare for a better common helper that invalidates pages based of an iocb. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal Reviewed-by: Hannes Reinecke Reviewed-by: Darrick J. Wong --- fs/iomap/direct-io.c | 21 +++-- 1 file

[Cluster-devel] [PATCH 08/12] iomap: use kiocb_write_and_wait and kiocb_invalidate_pages

2023-05-31 Thread Christoph Hellwig
Use the common helpers for direct I/O page invalidation instead of open coding the logic. This leads to a slight reordering of checks in __iomap_dio_rw to keep the logic straight. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal Reviewed-by: Hannes Reinecke Reviewed-by: Darrick J.

[Cluster-devel] [PATCH 6/8] filemap: add a kiocb_invalidate_post_direct_write helper

2023-05-31 Thread Christoph Hellwig
Add a helper to invalidate page cache after a dio write. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal Reviewed-by: Hannes Reinecke Acked-by: Darrick J. Wong --- fs/direct-io.c | 10 ++ fs/iomap/direct-io.c| 12 ++-- include/linux/fs.h | 5

[Cluster-devel] [PATCH 06/12] filemap: add a kiocb_invalidate_post_direct_write helper

2023-05-31 Thread Christoph Hellwig
Add a helper to invalidate page cache after a dio write. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal Reviewed-by: Hannes Reinecke Acked-by: Darrick J. Wong --- fs/direct-io.c | 10 ++ fs/iomap/direct-io.c| 12 ++-- include/linux/fs.h | 5

[Cluster-devel] [PATCH 4/8] filemap: add a kiocb_write_and_wait helper

2023-05-31 Thread Christoph Hellwig
Factor out a helper that does filemap_write_and_wait_range for the range covered by a read kiocb, or returns -EAGAIN if the kiocb is marked as nowait and there would be pages to write. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal Reviewed-by: Hannes Reinecke Acked-by: Darrick

[Cluster-devel] [PATCH 05/12] filemap: add a kiocb_invalidate_pages helper

2023-05-31 Thread Christoph Hellwig
Factor out a helper that calls filemap_write_and_wait_range and invalidate_inode_pages2_range for the range covered by a write kiocb or returns -EAGAIN if the kiocb is marked as nowait and there would be pages to write or invalidate. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal

[Cluster-devel] [PATCH 12/12] fuse: use direct_write_fallback

2023-05-31 Thread Christoph Hellwig
Use the generic direct_write_fallback helper instead of duplicating the logic. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal --- fs/fuse/file.c | 24 ++-- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/fs/fuse/file.c b/fs/fuse/file.c index

[Cluster-devel] [PATCH 1/8] backing_dev: remove current->backing_dev_info

2023-05-31 Thread Christoph Hellwig
The last user of current->backing_dev_info disappeared in commit b9b1335e6403 ("remove bdi_congested() and wb_congested() and related functions"). Remove the field and all assignments to it. Signed-off-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Reviewed-by: Darrick J. Wong ---

[Cluster-devel] [PATCH 09/12] fs: factor out a direct_write_fallback helper

2023-05-31 Thread Christoph Hellwig
Add a helper dealing with handling the syncing of a buffered write fallback for direct I/O. Signed-off-by: Christoph Hellwig --- fs/libfs.c | 41 include/linux/fs.h | 2 ++ mm/filemap.c | 66 +++--- 3 files

[Cluster-devel] [PATCH 02/12] iomap: update ki_pos a little later in iomap_dio_complete

2023-05-31 Thread Christoph Hellwig
Move the ki_pos update down a bit to prepare for a better common helper that invalidates pages based of an iocb. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal Reviewed-by: Hannes Reinecke Reviewed-by: Darrick J. Wong --- fs/iomap/direct-io.c | 21 +++-- 1 file

[Cluster-devel] [PATCH 5/8] filemap: add a kiocb_invalidate_pages helper

2023-05-31 Thread Christoph Hellwig
Factor out a helper that calls filemap_write_and_wait_range and invalidate_inode_pages2_range for the range covered by a write kiocb or returns -EAGAIN if the kiocb is marked as nowait and there would be pages to write or invalidate. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal

[Cluster-devel] [PATCH 03/12] filemap: update ki_pos in generic_perform_write

2023-05-31 Thread Christoph Hellwig
All callers of generic_perform_write need to updated ki_pos, move it into common code. Signed-off-by: Christoph Hellwig Reviewed-by: Xiubo Li Reviewed-by: Damien Le Moal Reviewed-by: Hannes Reinecke Acked-by: Darrick J. Wong --- fs/ceph/file.c | 2 -- fs/ext4/file.c | 9 +++--

[Cluster-devel] [PATCH 8/8] iomap: use kiocb_write_and_wait and kiocb_invalidate_pages

2023-05-31 Thread Christoph Hellwig
Use the common helpers for direct I/O page invalidation instead of open coding the logic. This leads to a slight reordering of checks in __iomap_dio_rw to keep the logic straight. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal Reviewed-by: Hannes Reinecke Reviewed-by: Darrick J.

[Cluster-devel] cleanup the filemap / direct I/O interaction v3 (full series now)

2023-05-31 Thread Christoph Hellwig
[Sorry for the previous attempt that stopped at patch 8] Hi all, this series cleans up some of the generic write helper calling conventions and the page cache writeback / invalidation for direct I/O. This is a spinoff from the no-bufferhead kernel project, for which we'll want to an use iomap

[Cluster-devel] [PATCH 07/12] iomap: update ki_pos in iomap_file_buffered_write

2023-05-31 Thread Christoph Hellwig
All callers of iomap_file_buffered_write need to updated ki_pos, move it into common code. Signed-off-by: Christoph Hellwig Reviewed-by: Andreas Gruenbacher Reviewed-by: Hannes Reinecke Reviewed-by: Darrick J. Wong Acked-by: Damien Le Moal --- fs/gfs2/file.c | 4 +---

[Cluster-devel] [PATCH 7/8] iomap: update ki_pos in iomap_file_buffered_write

2023-05-31 Thread Christoph Hellwig
All callers of iomap_file_buffered_write need to updated ki_pos, move it into common code. Signed-off-by: Christoph Hellwig Reviewed-by: Andreas Gruenbacher Reviewed-by: Hannes Reinecke Reviewed-by: Darrick J. Wong Acked-by: Damien Le Moal --- fs/gfs2/file.c | 4 +---

[Cluster-devel] [PATCH 04/12] filemap: add a kiocb_write_and_wait helper

2023-05-31 Thread Christoph Hellwig
Factor out a helper that does filemap_write_and_wait_range for the range covered by a read kiocb, or returns -EAGAIN if the kiocb is marked as nowait and there would be pages to write. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal Reviewed-by: Hannes Reinecke Acked-by: Darrick

[Cluster-devel] [PATCH 10/12] fuse: update ki_pos in fuse_perform_write

2023-05-31 Thread Christoph Hellwig
Both callers of fuse_perform_write need to updated ki_pos, move it into common code. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal --- fs/fuse/file.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/fs/fuse/file.c b/fs/fuse/file.c

[Cluster-devel] [PATCH 11/12] fuse: drop redundant arguments to fuse_perform_write

2023-05-31 Thread Christoph Hellwig
pos is always equal to iocb->ki_pos, and mapping is always equal to iocb->ki_filp->f_mapping. Signed-off-by: Christoph Hellwig Reviewed-by: Damien Le Moal Reviewed-by: Hannes Reinecke Acked-by: Miklos Szeredi --- fs/fuse/file.c | 11 +-- 1 file changed, 5 insertions(+), 6