[dm-devel] [RFC, PATCH] dm-log.c: Work with devices with hard-sector-size > 512 bytes

Alasdair G Kergon agk at redhat.com
Tue Mar 28 15:01:00 UTC 2006


A couple of options:

  Retain the existing on-disk format exactly, but adjust the offsets and
  sizes used in the reads and writes to avoid the problems (pre-reading
  other data if necessary to extend a write).

  Add an option to create version 3 metadata storing the offset in the 
  on-disk header but continue to use version 2 by default.
  Update userspace code to request version 3 (via new log parameter) for
  new mirror logs by default, but still permit version 2 for new logs.
  This way, people committed to existing logs can continue to use them
  (or schedule the update) and we maintain forwards and backwards
  compatibility for people that need that.

Alasdair
-- 
agk at redhat.com




More information about the dm-devel mailing list