Re: can I freeze I/O for some time to a given disk / md / dm device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 16, 2008 at 01:01:27PM +0100, Tomasz Chmielewski wrote:

> Is it possible to "freeze I/O" for some time to a given disk / md / dm  
> device?
>
> Say, "freeze I/O" so that userspace waits for any response for 30, 60  
> seconds or more?

For real disks you can use /sys/block/sdX/device/unload_heads to achieve
something similar (see Documentation/laptops/disk-shock-protection.txt
in the kernel source about how to use it). That won't work for md/dm
devices though.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux