[Cluster-devel] [GIT PULL] gfs2 fix
Linus Torvalds
torvalds at linux-foundation.org
Tue May 3 16:50:20 UTC 2022
On Tue, May 3, 2022 at 9:41 AM Andreas Gruenbacher <agruenba at redhat.com> 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
More information about the Cluster-devel
mailing list