bcachefs: Drop old maybe_extending optimization
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 8 Nov 2021 17:30:47 +0000 (12:30 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:51 +0000 (17:09 -0400)
commitb08b492ed3068b80122bb58476baeacad2d0fa4c
treebf2985ed75847981644abef941c7841b8366a4c1
parent8dd69d9f64e92529037550c97a07b1b78296e92c
bcachefs: Drop old maybe_extending optimization

The extend update path had an optimization to avoid updating the inode
if we knew we were definitely not extending the file. But now that we're
updating inodes on every extent update - for fsync - that code can be
deleted.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/data_update.c
fs/bcachefs/io.c
fs/bcachefs/io.h