linux/fs/ext4
Thomas Gleixner f010667d40 fs/buffer: Make BH_Uptodate_Lock bit_spin_lock a regular spinlock_t
Bit spinlocks are problematic if PREEMPT_RT is enabled, because they
disable preemption, which is undesired for latency reasons and breaks when
regular spinlocks are taken within the bit_spinlock locked region because
regular spinlocks are converted to 'sleeping spinlocks' on RT. So RT
replaces the bit spinlocks with regular spinlocks to avoid this problem.
Bit spinlocks are also not covered by lock debugging, e.g. lockdep.

Substitute the BH_Uptodate_Lock bit spinlock with a regular spinlock.

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[bigeasy: remove the wrapper and use always spinlock_t and move it into
          the padding hole]
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2023-03-25 04:21:17 +03:00
..
acl.c
acl.h
balloc.c
bitmap.c
block_validity.c
dir.c
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h
ext4.h ext4: fix use-after-free in ext4_search_dir 2022-04-27 13:50:50 +02:00
extents_status.c
extents_status.h
extents.c ext4: prevent partial update of the extent blocks 2022-02-23 11:59:57 +01:00
file.c
fsmap.c
fsmap.h
fsync.c
hash.c
ialloc.c
indirect.c
inline.c ext4: fix error handling in ext4_restore_inline_data() 2022-02-08 18:24:34 +01:00
inode.c ext4: limit length to bitmap_maxbytes - blocksize in punch_hole 2022-04-27 13:50:50 +02:00
ioctl.c
Kconfig
Makefile
mballoc.c
mballoc.h
migrate.c ext4: don't use the orphan list when migrating an inode 2022-01-27 09:19:51 +01:00
mmp.c
move_extent.c
namei.c ext4: fix use-after-free in ext4_search_dir 2022-04-27 13:50:50 +02:00
page-io.c fs/buffer: Make BH_Uptodate_Lock bit_spin_lock a regular spinlock_t 2023-03-25 04:21:17 +03:00
readpage.c
resize.c ext4: add check to prevent attempting to resize an fs with sparse_super2 2022-03-16 13:21:48 +01:00
super.c ext4: force overhead calculation if the s_overhead_cluster makes no sense 2022-04-27 13:50:50 +02:00
symlink.c
sysfs.c
truncate.h
verity.c
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c
xattr.h