Re: [PATCH] deadlock when swapping to FAT

From: OGAWA Hirofumi
Date: Sat Mar 14 2009 - 23:23:24 EST


Mikulas Patocka <mpatocka@xxxxxxxxxx> writes:

> Note that the same race condition is happening in all the other
> filesystems. Maybe move that i_alloc_sem up to ->bmap method caller?

It can be. However, I guess locking strategy would be per
filesystems. Because the fs may be using i_alloc_sem in get_block
already.

Thanks.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/