]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - include/linux/six.h
Update bcachefs sources to cd779e0cc5 bcachefs: Skip inode unpack/pack in bch2_extent...
[bcachefs-tools-debian] / include / linux / six.h
index f336ae049df8acc69749bdb4153445341afb87fe..362a577b968e9da0eb5a54578934ed0dd5963fc0 100644 (file)
@@ -107,6 +107,7 @@ struct six_lock {
        struct task_struct      *owner;
        unsigned __percpu       *readers;
        unsigned                intent_lock_recurse;
+       unsigned long           ip;
        raw_spinlock_t          wait_lock;
        struct list_head        wait_list;
 #ifdef CONFIG_DEBUG_LOCK_ALLOC
@@ -119,6 +120,7 @@ struct six_lock_waiter {
        struct task_struct      *task;
        enum six_lock_type      lock_want;
        bool                    lock_acquired;
+       u64                     start_time;
 };
 
 typedef int (*six_lock_should_sleep_fn)(struct six_lock *lock, void *);