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
___
Linux-f2fs-devel mailing li
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 insertio
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 insertions(+),
On Wed, 24 May 2023 at 08:38, Christoph Hellwig wrote:
>
> 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
Acked-by: Miklos Szeredi
_
On Wed, 24 May 2023 at 08:38, 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 | 25 +++--
> 1 file changed, 11 insert
On Wed, 24 May 2023 at 08:38, 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
> ---
> fs/libfs.c | 36 +
> include/linux/fs.h | 2 ++
> mm/filemap.c
On Fri, 19 May 2023 at 11:36, 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
> ---
> fs/libfs.c | 36
> include/linux/fs.h | 2 ++
> mm/filemap.c