|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 11/09/2011 09:25 PM, Alexander Koch wrote: >> You should be also able to trace discard (and other) block requests >> using blktrace/btrace, this should be really more user friendly :) > > I tried blktrace but didn't know which event to track. Supported list > includes READ, WRITE, BARRIER, SYNC, QUEUE, REQUEUE, ISSUE, COMPLETE, FS > and PC. man blkparse and search for "discard", it should be marked 'D' something like here, here using simulated scsi_debug device # modprobe scsi_debug dev_size_mb=16 sector_size=512 num_tgts=1 lbpu=1 # btrace /dev/<scsi_debug device> -a issue ... 8,144 1 19 0.002461433 2146 D D 0 + 32768 [mkfs.ext4] # fstrim <mountpoint> ... 8,144 1 52 8.372211281 2239 D D 162 + 2 [fstrim] 8,144 1 53 8.382095450 2239 D D 168 + 28 [fstrim] 8,144 1 54 8.391463509 2239 D D 1222 + 15164 [fstrim] 8,144 1 55 8.402445119 2239 D D 18564 + 14204 [fstrim] Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt
[DM Devel] [Fedora Desktop] [ATA RAID] [Fedora Marketing] [Fedora Packaging] [Fedora SELinux] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools] [Fedora Docs]
![]() |
![]() |