On Wed, Dec 1, 2010 at 8:28 PM, Yan, Zheng <yanzh...@21cn.com> wrote:
> On Thu, Dec 2, 2010 at 11:42 AM, liubo <liubo2...@cn.fujitsu.com> 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.
>

What part is logged besides tree roots and/or superblocks?
--
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

Reply via email to