Re: [GIT PULL] gfs2 fix
From: Linus Torvalds
Date: Tue May 03 2022 - 12:51:48 EST
On Tue, May 3, 2022 at 9:41 AM Andreas Gruenbacher <agruenba@xxxxxxxxxx> wrote:
>
> That's happening in iomap_file_buffered_write() and iomap_iter():
>
> while ((ret = iomap_iter(&iter, ops)) > 0)
> iter.processed = iomap_write_iter(&iter, i);
>
> Here, iomap_write_iter() returns how much progress it has made, which
> is stored in iter.processed, and iomap_iter() -> iomap_iter_advance()
> then updates iter.pos and iter.len based on iter.processed.
Ahh. I even had that file open in my editor in another window, but missed it.
So much for that theory.
Linus