HWCloudEngine / hybrid_cloud

6 stars 12 forks source link

[Storage Gateway] IO hook implementation #84

Closed yinweiishere closed 7 years ago

yinweiishere commented 8 years ago

TGT user mode IO hooker implementation: hook w/r IO from TGT target.

yinweiishere commented 8 years ago

status: analysis done; 3 options to implement iscsi io hook:

  1. iscsi qcmd (cons:kernel mode, kernel version dependent, effort big; pros:generic, not dependent on iscsi target implementation)
  2. 3.18 after kernel, LIO support user mode iscsi target (pros:LIO is the kernel default iscsi target; cons:kernel version limited, iscsi target dependent)
  3. TGT target (pros: user mode, post 2.6 versions supported; cons: TGT is not the kernel default iscsi target) Consider the implementation simplicity, stability of iscsi target, plus we're in control of iscsi target and kernel, we choose to use option 3.
yinweiishere commented 8 years ago

status: verifying prototype

plan: finish prototype verification; implement framework;

yinweiishere commented 8 years ago

status: implemented basic logic;

plan: commit patch; check control message interface; read issue: where to put bloom filter, writer or io hook;

yinweiishere commented 8 years ago

plan: performance tool Performance counter linux existed tool

dsnlevi commented 8 years ago

status: introduce lttng performance tracer tools grpc streaming demo test, compare performance with sendifle write a simple snapshot demo

plan: read cache design issue

yinweiishere commented 7 years ago

IO hook has been implemented already and code completed. Will track cache issue in another issue;