[Suspend2][ 00/32] Block i/o patches.

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

 



This set of patches contains routines in kernel/power/block_io.c.

The routines use struct block_device * pointers and lists of blocks
for each block_device. The blocks, in turn, are stored as chains
of extents.

Multiple swap devices can thus be supported trivially, and the
position at which each part of the image starts can be described
in terms of which device/chain is used, what actual value we're
sitting on and (for optimisation) which extent in the chain is
current.

On top of this, we implement support for asynchronous I/O and
readahead when synchronous I/O is required (ie when reading
compressed data at resume time).

The swapwriter and filewriter can then use a really simple
interface where they don't have to worry at all about what
device or block is the target.

Oh, and we handle variable blocksizes too.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux