summaryrefslogtreecommitdiff
path: root/fs/statfs.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-02-28 18:30:22 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-02-29 12:27:27 -0500
commitbce51dcb2bc00168758ae0c75b963f214e720b31 (patch)
tree32e19baad76822a7c7826a96fdb3891695b4a475 /fs/statfs.c
parentae30b41eff977d892dd75876576834e0f11af432 (diff)
bcachefs: Buffered write path now can avoid the inode lockbcachefs-buffered-write-locking
Non append, non extending buffered writes can now avoid taking the inode lock. To ensure atomicity of writes w.r.t. other writes, we lock every folio that we'll be writing to, and if this fails we fall back to taking the inode lock. Extensive comments are provided as to corner cases. Link: https://lore.kernel.org/linux-fsdevel/Zdkxfspq3urnrM6I@bombadil.infradead.org/ Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/statfs.c')
0 files changed, 0 insertions, 0 deletions