six locks: Add start_time to six_lock_waiter
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 24 Sep 2022 05:33:13 +0000 (01:33 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:41 +0000 (17:09 -0400)
commitf6ea2d575d70ab0e1aaa9f9fced1d04e6dd6ef4f
treeffb897fe2550908c27f623d8dc91ccea36ef8aa2
parent0bfb9f42b7b16aa11a7b5d283b0b7b98d11476b7
six locks: Add start_time to six_lock_waiter

This is needed by the cycle detector in bcachefs - we need a way to
iterater over waitlist entries while dropping and retaking the waitlist
lock.

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