1. 22 6月, 2009 1 次提交
  2. 31 3月, 2009 2 次提交
    • D
      md/raid6: move raid6 data processing to raid6_pq.ko · f701d589
      Dan Williams 提交于
      Move the raid6 data processing routines into a standalone module
      (raid6_pq) to prepare them to be called from async_tx wrappers and other
      non-md drivers/modules.  This precludes a circular dependency of raid456
      needing the async modules for data processing while those modules in
      turn depend on raid456 for the base level synchronous raid6 routines.
      
      To support this move:
      1/ The exportable definitions in raid6.h move to include/linux/raid/pq.h
      2/ The raid6_call, recovery calls, and table symbols are exported
      3/ Extra #ifdef __KERNEL__ statements to enable the userspace raid6test to
         compile
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      Signed-off-by: NNeilBrown <neilb@suse.de>
      f701d589
    • C
      cleanup drivers/md/Makefile · 2a40a8ae
      Christoph Hellwig 提交于
      Use the -y variables instead of the old -objs so we can easily add
      conditional objects to the modules.  Also always use += to add
      subobjects to avoid problems when placing additional objects in
      some place in the file.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NNeilBrown <neilb@suse.de>
      2a40a8ae
  3. 06 1月, 2009 2 次提交
    • A
      dm snapshot: split out exception store implementations · 4db6bfe0
      Alasdair G Kergon 提交于
      Move the existing snapshot exception store implementations out into
      separate files.  Later patches will place these behind a new
      interface in preparation for alternative implementations.
      Signed-off-by: NAlasdair G Kergon <agk@redhat.com>
      4db6bfe0
    • M
      dm: add name and uuid to sysfs · 784aae73
      Milan Broz 提交于
      Implement simple read-only sysfs entry for device-mapper block device.
      
      This patch adds a simple sysfs directory named "dm" under block device
      properties and implements
      	- name attribute (string containing mapped device name)
      	- uuid attribute (string containing UUID, or empty string if not set)
      
      The kobject is embedded in mapped_device struct, so no additional
      memory allocation is needed for initializing sysfs entry.
      
      During the processing of sysfs attribute we need to lock mapped device
      which is done by a new function dm_get_from_kobj, which returns the md
      associated with kobject and increases the usage count.
      
      Each 'show attribute' function is responsible for its own locking.
      Signed-off-by: NMilan Broz <mbroz@redhat.com>
      Signed-off-by: NAlasdair G Kergon <agk@redhat.com>
      784aae73
  4. 22 10月, 2008 1 次提交
  5. 05 6月, 2008 2 次提交
  6. 25 4月, 2008 2 次提交
  7. 20 10月, 2007 2 次提交
  8. 13 7月, 2007 2 次提交
  9. 10 5月, 2007 1 次提交
  10. 27 6月, 2006 1 次提交
  11. 22 6月, 2005 1 次提交
    • N
      [PATCH] md: optimised resync using Bitmap based intent logging · 32a7627c
      NeilBrown 提交于
      With this patch, the intent to write to some block in the array can be logged
      to a bitmap file.  Each bit represents some number of sectors and is set
      before any update happens, and only cleared when all writes relating to all
      sectors are complete.
      
      After an unclean shutdown, information in this bitmap can be used to optimise
      resync - only sectors which could be out-of-sync need to be updated.
      
      Also if a drive is removed and then added back into an array, the recovery can
      make use of the bitmap to optimise reconstruction.  This is not implemented in
      this patch.
      
      Currently the bitmap is stored in a file which must (obviously) be stored on a
      separate device.
      
      The patch only provided infrastructure.  It does not update any personalities
      to bitmap intent logging.
      
      Md arrays can still be used with no bitmap file.  This patch has minimal
      impact on such arrays.
      Signed-off-by: NNeil Brown <neilb@cse.unsw.edu.au>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      32a7627c
  12. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4