[sheepdog] [sheepdog/sheepdog] 8e07dc: sheep: change a condition of refreshing inode for ...

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Sun Jul 26 15:10:55 CEST 2015


  Branch: refs/heads/snapshot-and-multipath-v3
  Home:   https://github.com/sheepdog/sheepdog
  Commit: 8e07dce1e5d020f46ec69b405dd4515756ccbef4
      https://github.com/sheepdog/sheepdog/commit/8e07dce1e5d020f46ec69b405dd4515756ccbef4
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M sheep/gateway.c

  Log Message:
  -----------
  sheep: change a condition of refreshing inode for read requests

Current condition of refreshing inode for read requests cannot handle
a case of reading readonly objects from snapshot. In such a case,
immediate refreshing isn't required.

(A case of reading from obsolete snapshot inode is handled in tgtd.)

Cc: Teruaki Ishizaki <ishizaki.teruaki at lab.ntt.co.jp>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>


  Commit: 3a6fe55af654cd7d11ddb383da46a33cd5c9dbc8
      https://github.com/sheepdog/sheepdog/commit/3a6fe55af654cd7d11ddb383da46a33cd5c9dbc8
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M sheep/vdi.c

  Log Message:
  -----------
  sheep: change a condition of refreshing inode for snapshot access

Even requests are issued to snapshot VDIs, refreshing is required for
handling a case of snapshot -> write something -> iSCSI multipath
failover.

Cc: Teruaki Ishizaki <ishizaki.teruaki at lab.ntt.co.jp>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>


  Commit: f8b92902d07a574c4e624a83159be22d721eb91f
      https://github.com/sheepdog/sheepdog/commit/f8b92902d07a574c4e624a83159be22d721eb91f
  Author: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
  Date:   2015-07-26 (Sun, 26 Jul 2015)

  Changed paths:
    M sheep/vdi.c

  Log Message:
  -----------
  sheep: change a condition of validation of inode coherence protocol

Even refreshing requests are issued for snapshot VDIs, they must cause
validation.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>


Compare: https://github.com/sheepdog/sheepdog/compare/8e07dce1e5d0^...f8b92902d07a


More information about the sheepdog mailing list