]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: Don't hold inode lock longer than necessary in dio write path
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 2 Nov 2019 01:35:25 +0000 (21:35 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:31 +0000 (17:08 -0400)
commit7edcfbfefe5c18ea5df6bfdaca405003a0a87c51
tree5827a06225d8fe01d422d3aa0d2ec10289b6ddf9
parentf8f30863382c0d905196ea7606c14524d1f21fd0
bcachefs: Don't hold inode lock longer than necessary in dio write path

In theory we should be able to do (non appending/extending) dio writes
without taking the inode lock at all - but this gets us most of the way
there.

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