Re: [PATCH] blktrace: put bounds on BLKTRACESETUP buf_size and buf_nr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bart,

On 6/4/20 9:31 PM, Bart Van Assche wrote:
> Where is the code that imposes these limits? I haven't found it. Did I
> perhaps overlook something?It is in blktrace.c user-space tool.

   55
   56 /*
   57  * You may want to increase this even more, if you are logging at 
a high
   58  * rate and see skipped/missed events
   59  */
   60 #define BUF_SIZE                (512 * 1024)
   61 #define BUF_NR                  (4)
   62
   63 #define FILE_VBUF_SIZE          (128 * 1024)
   64
   65 #define DEBUGFS_TYPE            (0x64626720)
   66 #define TRACE_NET_PORT          (8462)
   67





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux