All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] Adding useful information into swap partition header
@ 2012-10-22 16:57 Venkatraman S
  2012-10-22 16:57 ` [RFC PATCH 1/4] libblkid/topology: add preferred_erase_size to topology probe Venkatraman S
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Venkatraman S @ 2012-10-22 16:57 UTC (permalink / raw)
  To: kzak; +Cc: util-linux, arnd.bergmann, Venkatraman S

Trying some of the ideas bounced around in lkml for
optimizing swap on flash (eMMC / SD) media [1], we can start
to add useful information into swapheader without breaking
compatibility.
Such information can help the kernel swap management algo
to tune itself to the geometry of flash devices (erase block
size and page size etc).
Some more features (like command line override) are still 
under development. In long term, libblkid/mkswap can be extended
to even detect this information by timing attacks,
even if sysfs parameters are not present.


Venkatraman S (4):
  libblkid/topology: add preferred_erase_size to topology probe
  mkswap: refactor header preparation
  mkswap: Add additional fields in swapheader
  mkswap: Probe and embed useful block device info into swapheader

 disk-utils/mkswap.c              | 77 ++++++++++++++++++++++++++++++++--------
 include/swapheader.h             |  7 +++-
 libblkid/src/topology/sysfs.c    |  1 +
 libblkid/src/topology/topology.c | 19 ++++++++++
 libblkid/src/topology/topology.h |  1 +
 5 files changed, 90 insertions(+), 15 deletions(-)

-- 
1.7.11.1.25.g0e18bef

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-11-08  9:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-22 16:57 [RFC PATCH 0/4] Adding useful information into swap partition header Venkatraman S
2012-10-22 16:57 ` [RFC PATCH 1/4] libblkid/topology: add preferred_erase_size to topology probe Venkatraman S
2012-10-22 16:57 ` [RFC PATCH 2/4] mkswap: refactor header preparation Venkatraman S
2012-10-22 16:57 ` [RFC PATCH 3/4] mkswap: Add additional fields in swapheader Venkatraman S
2012-10-22 16:57 ` [PATCH 4/4] mkswap: Probe and embed useful block device info into swapheader Venkatraman S
2012-10-22 17:04 ` [RFC PATCH 0/4] Adding useful information into swap partition header Venkatraman S
2012-10-23 12:16 ` Karel Zak
2012-10-23 13:37   ` Venkatraman S
2012-11-08  9:44     ` Karel Zak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.