hotfixes: runtime patch kernel function support
hotfixes: a hotfix demo
hotfixes: release orig_sub in del_hotfix()
hotfixes: bugfix, avoid to register duplicated hotfixes at same address
hotfixes: replace pr_warn() with pr_warning() since some versions of kernel do not provide this shortcut name
hotfixes: fix a typedef typo in hotfixes.h
TOA: Tcp Option Address for IPv4/IPv6

This patch adds a new Tcp Option as Adress, here address including IP and Port.
By this patch, the real {IP,Port} can be added into option field of TCP header,
with LVS load balancing, the backend services are still able to receive real
{IP,Port} info.

Currently TOA supports IPv4/IPv6. This patch is initially developped by
Wu Jiaming <pukong.wjm@taobao.com>, IPv6 supported by Chen Jiajun
<mofan.cjj@taobao.com>, currently maintained by Bing Tian
<bingtian.ly@taobao.com>.

Signed-off-by: Chen Jiajun <mofan.cjj@taobao.com>
Signed-off-by: Wu Jiaming <pukong.wjm@taobao.com>
Signed-off-by: Bing Tian <bingtian.ly@taobao.com>
Signed-off-by: Coly Li <bosong.ly@taobao.com>
dm-latency: move struct mapped_device from dm.c to dm.h

Because struct mapped_device will be referenced in dm-sysfs.c, move its
definition into dm.h which is included by dm-sysfs.c

Signed-off-by: Coly Li <bosong.ly@alibaba-inc.com>
Reviewed-by: Robin Dong <sanbai@alibaba-inc.com>
dm-latency: add I/O latency measurement in device mapper

This patch adds I/O latency measurement code in dm.c. The basic idea is,
1) add timestamp in struct dm_io as unsigned long start_time_usec
2) set timestamp when dm_io issued to underlaying block layer.
3) when all sub-I/O completed, calculate time difference against
start_time_usec as I/O latency.
4) account the latency to corresponding counters like,
   - latency_stats_us
   - latency_stats_ms
   - latency_stats_s

Signed-off-by: Coly Li <bosong.ly@alibaba-inc.com>
Reviewed-by: Robin Dong <sanbai@alibaba-inc.com>
dm-latency: add sysfs interface

This patch adds sysfs interface to display io latency statistic info.
3 files are used to export statistic info based on delay unit level,
- /sys/block/dm-X/dm/io_latency_us
- /sys/block/dm-X/dm/io_latency_ms
- /sys/block/dm-X/dm/io_latency_s

The statistic counter is increasing only, a user space application
should calculate "delta" value for a sampling interval.

Signed-off-by: Coly Li <bosong.ly@alibaba-inc.com>
Reviewed-by: Robin Dong <sanbai@alibaba-inc.com>
dm-latency: add reset function to dm-latency in sysfs interface

Now echo any thing into /sys/block/dm-X/dm/io_latency_reset may
reset all counters in /sys/block/dm-X/dm/io_latency_{s,ms, us} to 0.

This function might be helpful to application developers.

Signed-off-by: Coly Li <bosong.ly@alibaba-inc.com>
Reviewed-by: Robin Dong <sanbai@alibaba-inc.com>
Merge pull request #7 from colyli/master

dm-latency
Update KGTP to 20130706
Merge pull request #8 from teawater/master

Update KGTP to 20130706
hotfixes: make orig_stub always is a valid original function pointer or NULL
hotfixes: 'sub /bin/bashxHHHHHHHH, %rsp' support in tiny disassembler
Merge pull request #10 from Rover-Yu/hotfixes.master

pull request for hotfixes
Update README.markdown.

Update README.markdown so that users can know the difference between
branch master and dev.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Fix jbd2 kernel bug in jbd2_journal_commit_transaction+0x120c

In our DB system, we met with a kernel panic when using ext4. After
A deep investigation, it shows that it is caused by a specific usage
of MySQL.
The upstream commit id is deeeaf13 and e7b04ac0.
For more information, please refer to
http://blog.donghao.org/2013/07/17/rhel6%E5%86%8D%E6%AC%A1%E5%8F%91%E7%8E%B0jbd2%E7%9A%84bug/.

Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>