Changeset 2345 for trunk


Ignore:
Timestamp:
May 3, 2009, 3:47:27 AM (16 years ago)
Author:
broder
Message:

Don't be quite as ionice to the dds that wipe out deleted LVs.

Location:
trunk/packages/invirt-remote
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-remote/debian/changelog

    r2292 r2345  
     1invirt-remote (0.3.14) unstable; urgency=low
     2
     3  * Maybe we won't be /quite/ so ionice to the dd over a deleted LV.
     4
     5 -- Evan Broder <broder@mit.edu>  Sun, 03 May 2009 03:46:13 -0400
     6
    17invirt-remote (0.3.13) unstable; urgency=low
    28
  • trunk/packages/invirt-remote/host/usr/sbin/invirt-lvm

    r2286 r2345  
    6969    # the floor for now.
    7070    if os.fork() == 0:
    71         call(["/usr/bin/ionice", "-c", "3", "/bin/dd", "if=/dev/zero", "of=%s" % new_lvpath])
     71        call(["/usr/bin/ionice", "-c", "2", "-n", "7", "/bin/dd", "if=/dev/zero", "of=%s" % new_lvpath])
    7272        call(["/sbin/lvchange", "-a", "n", new_lvpath])
    7373        call(["/sbin/lvchange", "-a", "ey", new_lvpath])
Note: See TracChangeset for help on using the changeset viewer.