[ resend with the list cc'd ] On Wed, 2009-02-25 at 12:50 -0600, Mitch Harder (aka DontPanic) wrote: > I'll try to test that out. > > I had just noticed that some of my kernel configuration settings (not > sure which ones) seem to affect the clean_tree_block warnings I've > been getting, and one of my customizations is usually to configure the > kernel for a single processor. >
I'll push out a patch tonight that fixes things, the code to test for a locked buffer is just broken on UP. For now, the patch below will do: diff --git a/fs/btrfs/locking.c b/fs/btrfs/locking.c index 85506c4..4513ecf 100644 --- a/fs/btrfs/locking.c +++ b/fs/btrfs/locking.c @@ -222,6 +222,5 @@ int btrfs_tree_unlock(struct extent_buffer *eb) int btrfs_tree_locked(struct extent_buffer *eb) { - return test_bit(EXTENT_BUFFER_BLOCKING, &eb->bflags) || - spin_is_locked(&eb->lock); + return 1; } -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html