The latest version gives me the same issue as shintak but enabling CONFIG_LOCK_STAT didn't fix it. I had to remove the 2 tracepoints in the code to finish compiling.
diff --git a/fs/bcachefs/six.c b/fs/bcachefs/six.c
index 581aee565e95..4fce655a94e9 100644
--- a/fs/bcachefs/six.c
+++ b/fs/bcachefs/six.c
@@ -456,7 +456,6 @@ static int six_lock_slowpath(struct six_lock *lock, enum six_lock_type type,
smp_mb__after_atomic();
}
- trace_contention_begin(lock, 0);
lock_contended(&lock->dep_map, ip);
if (six_optimistic_spin(lock, type))
@@ -526,7 +525,6 @@ static int six_lock_slowpath(struct six_lock *lock, enum six_lock_type type,
six_clear_bitmask(lock, SIX_LOCK_HELD_write);
six_lock_wakeup(lock, atomic_read(&lock->state), SIX_LOCK_read);
}
- trace_contention_end(lock, 0);
return ret;
}
Pinned Comments
QuartzDragon commented on 2019-06-11 15:15 (UTC) (edited on 2019-06-11 15:17 (UTC) by QuartzDragon)
If there are bugs related to the PKGBUILD or config, report here.
Otherwise, please report here:
https://github.com/koverstreet/bcachefs/issues