summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorzhangyi (F) <yi.zhang@huawei.com>2021-03-13 06:01:45 +0300
committerJens Axboe <axboe@kernel.dk>2021-05-24 15:47:21 +0300
commit3af3d772f7216cf23081bb4176e86f1219d32ebc (patch)
treed1e1f4755941ec520c0942a4553e7f65f0af5ea6 /include
parent12e0613715e1cf305fffafaf0e89d810d9a85cc0 (diff)
downloadlinux-3af3d772f7216cf23081bb4176e86f1219d32ebc.tar.xz
block_dump: remove block_dump feature
We have already delete block_dump feature in mark_inode_dirty() because it can be replaced by tracepoints, now we also remove the part in submit_bio() for the same reason. The part of block dump feature in submit_bio() dump the write process, write region and sectors on the target disk into kernel message. it can be replaced by block_bio_queue tracepoint in submit_bio_checks(), so we do not need block_dump anymore, remove the whole block_dump feature. Signed-off-by: zhangyi (F) <yi.zhang@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210313030146.2882027-3-yi.zhang@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/writeback.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h
index 8e5c5bb16e2d..9ef50176f3a1 100644
--- a/include/linux/writeback.h
+++ b/include/linux/writeback.h
@@ -360,7 +360,6 @@ extern unsigned int dirty_writeback_interval;
extern unsigned int dirty_expire_interval;
extern unsigned int dirtytime_expire_interval;
extern int vm_highmem_is_dirtyable;
-extern int block_dump;
extern int laptop_mode;
int dirty_background_ratio_handler(struct ctl_table *table, int write,