Re: [dm-devel] Re: [PATCH] Implement barrier support for single device DM devices

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: device-mapper development <dm-devel@...>, Michael Tokarev <mjt@...>, Andi Kleen <andi@...>, <linux-kernel@...>
Date: Monday, February 18, 2008 - 8:48 am

Alasdair G Kergon wrote:

Using working barriers is important for normal users when you really 
care about data loss and have normal drives in a box. We do power fail 
testing on boxes (with reiserfs and ext3) and can definitely see a lot 
of file system corruption eliminated over power failures when barriers 
are enabled properly.

It is not unreasonable for some machines to disable barriers to get a 
performance boost, but I would not do that when you are storing things 
you really need back.

Of course, you don't need barriers when you either disable the write 
cache on the drives or use a battery backed RAID array which gives you a 
write cache that will survive power outages...

ric
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Implement barrier support for single device DM d..., Alasdair G Kergon, (Fri Feb 15, 8:20 am)
Re: [PATCH] Implement barrier support for single device DM d..., Alasdair G Kergon, (Mon Feb 18, 10:39 pm)
Re: [dm-devel] Re: [PATCH] Implement barrier support for sin..., Alasdair G Kergon, (Fri Feb 15, 10:12 am)
Re: [dm-devel] Re: [PATCH] Implement barrier support for sin..., Ric Wheeler, (Mon Feb 18, 8:48 am)
Re: [dm-devel] Re: [PATCH] Implement barrier support for sin..., Alasdair G Kergon, (Mon Feb 18, 10:56 pm)
Re: [dm-devel] Re: [PATCH] Implement barrier support for sin..., Alasdair G Kergon, (Mon Feb 18, 10:45 pm)