English 中文(简体)
LKM: 用于装置的最后一栏
原标题:LKM: Last block written to device

我正试图找到一种办法,在单元内追踪最后一批被装入碎片装置的路障。 我所需要的具体装置是根植装置(如果能够帮助,我会提前知道/知道名称)。

我的原始想法是总结所提交的“生物功能”,因为如果你“echo 1 > /proc/sys/vm/block_dump,它就已经拥有伐木功能。 不幸的是,我似乎需要修改源代码,使这一功能成为点。 如果有可能,我愿意将这一切留在单元内。

之后,我调查了档案系统的类型,并总结了缺省档案操作(这些已经是功能点,毕竟是功能点)。 这些问题被宣布为最棘手的问题。

我理解,这是试图做的一件奇怪的事情。 无需这样做。 是否有任何想法可以让我去做?

最佳回答

blktrace tool专门针对阻挡装置设计。 <代码>blkparse(1)工具将规定<代码>blktrace(8)的用途。 (至少乌兰巴托将这些包裹放在<条码>。 一揽子计划;我期望其他分配办法类似。 <条码>bklparse(1)工具可向您提供部门信息。

Documentation/trace/events.txt>>描述了另一个追踪机制——一种可允许你跟踪block:block_bio_complete 活动,其中包括部门信息。 这只得安装<条码>bkltrace。 工具包,但Ill(原文如此)承认,我不知道有哪儿到read痕量记录。

问题回答

暂无回答




相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签