blk-mq-debugfs.c (2705c93742e91730d335838025d75d8043861174) | blk-mq-debugfs.c (56d18f62f556b80105e38e7975975cf7465aae3e) |
---|---|
1/* 2 * Copyright (C) 2017 Facebook 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public 6 * License v2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 235 unchanged lines hidden (view full) --- 244 BLK_TAG_ALLOC_NAME(RR), 245}; 246#undef BLK_TAG_ALLOC_NAME 247 248#define HCTX_FLAG_NAME(name) [ilog2(BLK_MQ_F_##name)] = #name 249static const char *const hctx_flag_name[] = { 250 HCTX_FLAG_NAME(SHOULD_MERGE), 251 HCTX_FLAG_NAME(TAG_SHARED), | 1/* 2 * Copyright (C) 2017 Facebook 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public 6 * License v2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 235 unchanged lines hidden (view full) --- 244 BLK_TAG_ALLOC_NAME(RR), 245}; 246#undef BLK_TAG_ALLOC_NAME 247 248#define HCTX_FLAG_NAME(name) [ilog2(BLK_MQ_F_##name)] = #name 249static const char *const hctx_flag_name[] = { 250 HCTX_FLAG_NAME(SHOULD_MERGE), 251 HCTX_FLAG_NAME(TAG_SHARED), |
252 HCTX_FLAG_NAME(SG_MERGE), | |
253 HCTX_FLAG_NAME(BLOCKING), 254 HCTX_FLAG_NAME(NO_SCHED), 255}; 256#undef HCTX_FLAG_NAME 257 258static int hctx_flags_show(void *data, struct seq_file *m) 259{ 260 struct blk_mq_hw_ctx *hctx = data; --- 826 unchanged lines hidden --- | 252 HCTX_FLAG_NAME(BLOCKING), 253 HCTX_FLAG_NAME(NO_SCHED), 254}; 255#undef HCTX_FLAG_NAME 256 257static int hctx_flags_show(void *data, struct seq_file *m) 258{ 259 struct blk_mq_hw_ctx *hctx = data; --- 826 unchanged lines hidden --- |