commit | 1b94b5567e9c70ad3b24bd5e576a422246875c2a | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Nov 06 16:14:21 2014 +0800 |
committer | Miao Xie <miaox@cn.fujitsu.com> | Wed Dec 03 10:18:45 2014 +0800 |
tree | 0118d96c9baa6fadd41209e7232be23fc1517961 | |
parent | af8e2d1df9848b39dd86b1e696bf8781d2020a88 [diff] |
Btrfs, raid56: use a variant to record the operation type We will introduce new operation type later, if we still use integer variant as bool variant to record the operation type, we would add new variant and increase the size of raid bio structure. It is not good, by this patch, we define different number for different operation, and we can just use a variant to record the operation type. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>