Re: [PATCH 1/4] md: Factor out RAID6 algorithms into lib/

2009-07-19 Thread David Woodhouse
On Sat, 2009-07-18 at 13:04 -0700, Dan Williams wrote:
 On Sat, Jul 18, 2009 at 11:42 AM, David Woodhousedw...@infradead.org wrote:
  On Sat, 18 Jul 2009, Dan Williams wrote:
  I was under the impression that btrfs wanted to leverage md's stripe
  handling logic as well, seems that is not the case?
 
  No. We do a bunch of the stuff you mention above, but entirely within the
  file system so we don't have to invent a bunch of layering violations just
  to work around a broken design.
 
 Sure, a layering violation for an existing filesystem.  For btrfs, at
 LSF'09, we briefly talked about breaking out more than just the
 erasure codes from software-raid into a libraid.  At some point in
 the i/o path a btrfs stripe operation becomes indistinguishable from a
 raid5,6 operation so at first glance there appears to be room to share
 common infrastructure like portions of handle_stripe for example.

At this point we've actually implemented the fundamental parts of
RAID[56] support in btrfs, and it's looking like all we really want is
the arithmetic routines.

Perhaps that's because I'm insufficiently familiar with the
handle_stripe() function to which you refer. Would you like to take to
take a look at http://git.infradead.org/users/dwmw2/btrfs-raid56.git and
attempt to convince me that I should be reusing more?

Criticism in 'diff -up' form is always welcome... :)

-- 
David WoodhouseOpen Source Technology Centre
david.woodho...@intel.com  Intel Corporation

--
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


injpwng...@vgaxjwsm.com

2009-07-19 Thread 李生Dboxb


0504096278121234567尊敬的先生、女士:

  您好!
  本公司专业代理全国各地各行业的.服务.建筑.商品等等。国税、地税/票据!对外可优惠。(收费标准为:0.3%-1.5%)收取详细税率可根据大小商谈!
  公司本着顾客至上的宗旨,可先开具票给贵公司。待验证无问题后再付款!若贵公司有需要或疑问,可直接来电联系!
  联系人:李 先 生

  电 话:158 1465 6372
  
  邮箱: jinchengo...@126.com

  如有打扰,请见谅!谢谢!~




2009-7-20

 219.205.214.178 


Re: [PATCH 1/4] md: Factor out RAID6 algorithms into lib/

2009-07-19 Thread H. Peter Anvin
David Woodhouse wrote:
 
 At this point we've actually implemented the fundamental parts of
 RAID[56] support in btrfs, and it's looking like all we really want is
 the arithmetic routines.
 

Given that you have no legacy requirements, and that supporting more
than two disks may be interesting, it may very well be worth spending
some time at new codes now rather than later.  Part of that
investigation, though, is going to have to be if and how they can be
accelerated.

-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

--
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