Re: btrfs and write barriers

2019-04-28 Thread Qu Wenruo
to not issue a FLUSH command to the disks > when you called fsync in userspace. > > Ok, thanks for that clarification. > > > Greetings, > Hendrik > > -- Originalnachricht -- > Von: "Austin S. Hemmelgarn" > An: "Hendrik Friedel&quo

Re[2]: btrfs and write barriers

2019-04-28 Thread Hendrik Friedel
the disks when you called fsync in userspace. Ok, thanks for that clarification. Greetings, Hendrik -- Originalnachricht -- Von: "Austin S. Hemmelgarn" An: "Hendrik Friedel" ; "Qu Wenruo" ; linux-btrfs@vger.kernel.org Gesendet: 03.04.2019 20:44:09 Betre

Re: btrfs and write barriers

2019-04-03 Thread Qu Wenruo
On 2019/4/4 上午2:17, Hendrik Friedel wrote: > Hello, > > thanks for your reply. > >>> 3) Even more, it would be good, if btrfs would disable the write cache >>> in that case, so that one does not need to rely on the user >>   >> Personally speaking, if user really believes it's write cache causi

Re[3]: btrfs and write barriers

2019-04-03 Thread Hendrik Friedel
Hello, thanks for your reply. >>3) Even more, it would be good, if btrfs would disable the write cache >> in that case, so that one does not need to rely on the user > >Personally speaking, if user really believes it's write cache causing >the problem or want to be extra safe, then they should di

Re: btrfs and write barriers

2019-04-03 Thread Austin S. Hemmelgarn
On 2019-04-03 14:17, Hendrik Friedel wrote: Hello, thanks for your reply. 3) Even more, it would be good, if btrfs would disable the write cache in that case, so that one does not need to rely on the user Personally speaking, if user really believes it's write cache causing the problem or wan

Re: btrfs and write barriers

2019-04-02 Thread Austin S. Hemmelgarn
On 2019-04-01 15:22, Hendrik Friedel wrote: Dear btrfs-team, I am aware, that barriers are essential for btrfs [1]. I have some questions on that topic: 1) I am not aware how to determine, whether barriers are supported, except for searching dmesg for a message that barriers are disabled. Is t

Re: btrfs and write barriers

2019-04-01 Thread Qu Wenruo
On 2019/4/2 上午3:22, Hendrik Friedel wrote: > Dear btrfs-team, > > I am aware, that barriers are essential for btrfs [1]. > I have some questions on that topic: > 1) I am not aware how to determine, whether barriers are supported, > except for searching dmesg for a message that barriers are disab

btrfs and write barriers

2019-04-01 Thread Hendrik Friedel
Dear btrfs-team, I am aware, that barriers are essential for btrfs [1]. I have some questions on that topic: 1) I am not aware how to determine, whether barriers are supported, except for searching dmesg for a message that barriers are disabled. Is that correct? It would be nice, if that could