Re: [RFC PATCH] btrfs: Hook btrfs' DRW lock to locktorture infrastructure

2019-08-05 Thread David Sterba
On Mon, Aug 05, 2019 at 09:36:21AM -0700, Nathan Chancellor wrote: > Looks like this is in next-20190805 and causes a link time error when > CONFIG_BTRFS_FS is unset: > > LD vmlinux.o > MODPOST vmlinux.o > MODINFO modules.builtin.modinfo > ld.lld: error: undefined symbol: btrfs_drw_lock

Re: [RFC PATCH] btrfs: Hook btrfs' DRW lock to locktorture infrastructure

2019-08-05 Thread Nathan Chancellor
On Fri, Jul 19, 2019 at 11:48:08AM +0300, Nikolay Borisov wrote: > Signed-off-by: Nikolay Borisov > --- > > Hello Paul, > > Here is the code I used to test the DRW lock via the lock torture > infrastructure. > It's rather ugly but got the job done for me. It's definitely not in a > mergeable