summaryrefslogtreecommitdiffstats
path: root/lib/seq_buf.c
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2015-08-13 23:31:54 +0200
committerNeilBrown <neilb@suse.com>2015-10-24 08:16:18 +0200
commitc4d4c91b44d8309082127893221a1971a27c50ca (patch)
treed745d1eb415f1dff77c0de54b5a63a4494ba3f76 /lib/seq_buf.c
parentmd-cluster: Call update_raid_disks() if another node --grow's raid_disks (diff)
downloadlinux-c4d4c91b44d8309082127893221a1971a27c50ca.tar.xz
linux-c4d4c91b44d8309082127893221a1971a27c50ca.zip
MD: replace special disk roles with macros
Add the following two macros for special roles: spare and faulty MD_DISK_ROLE_SPARE 0xffff MD_DISK_ROLE_FAULTY 0xfffe Add MD_DISK_ROLE_MAX 0xff00 as the maximal possible regular role, and minimal value of special role. Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions