bcachefs: Update inode on every write
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 4 Nov 2021 02:35:34 +0000 (22:35 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:16 +0000 (17:09 -0400)
commit1db84979c7b640c15abae8a013485546bcca3623
tree2ea1805ad51b68add143e97838519c5a27018889
parent34d74830b25c7d0b4f6affda90225e4849296255
bcachefs: Update inode on every write

This is going to be a performance regression until we get the btree key
cache re-enabled - but it's needed for fixing fsync. Upcoming patches
will record the journal_seq an inode was updated at in the inode itself.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/io.c