Re: why rbd journaling first write journal to journal pool and then write data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jaze,

If you write data first, and you have a failure after writing data and before writing to the journal, then you cannot recover that write operation and it will be lost.

You can see the journal as a primary replica of data.

Ricardo Dias

Sent from my mobile phone

> On 22 Aug 2016, at 09:46, Jaze Lee <jazeltq@xxxxxxxxx> wrote:
> 
> Hi all:
>   I found that rbd journaling first write journal and then write data.
>   Why we not first write data and then write journal? Is there some
> considerration
>   for which is first ?
> 
>   Thanks a lot.
> 
> -- 
> 谦谦君子
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux