On Thu, Dec 2, 2010 at 11:42 AM, liubo <liubo2009@xxxxxxxxxxxxxx> wrote: > On 12/01/2010 06:20 PM, liubo wrote: >> When the filesystem is readonly, avoid transaction stuff by checking MS_RDONLY at >> start transaction time. >> > > This patch may lead btrfs panic. > > Since btrfs allows transaction under readonly fs state, which is a bit weird, btrfs > does not even check the returned transaction from start_transaction, although it may > return -ENOMEM. btrfs may do log replay even mount as readonly. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
