Re: DTrace (or other monitor) access to LBA of a block device

看板FB_stable作者時間15年前 (2010/12/06 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/10 (看更多)
on 05/12/2010 20:02 Artem Belevich said the following: >> GEOM sounds like a good candidate for probing of that kind. >> >> sudo dtrace -n 'fbt:kernel:g_io_deliver:entry { printf("%s %d %d >> %d\n",stringof(args[0]->bio_from->geom->name), args[0]->bio_cmd, >> args[0]->bio_offset, args[0]->bio_length); }' > > By the way, in order for this to work one would need r207057 applied > to -8. Any chance that could be MFC'ed? > > http://svn.freebsd.org/viewvc/base?view=revision&revision=207057 Nice catch. Alexander, can that commit be trivially MFC-ed or are there any complications around this change? Thanks! -- Andriy Gapon _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1C--z__G (FB_stable)
討論串 (同標題文章)
完整討論串 (本文為第 6 之 10 篇):
文章代碼(AID): #1C--z__G (FB_stable)