Query on vfs interface

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

 



Hello

I am trying to log all the calls going to the VFS file system from the application.

 

For write calls I notice an anomaly.  I introduced a log at the vfs_write() function , I see it get’s logged twice  for every write in the log output.

I also tried do_sync_write() the result is same.

 

Time stamp            VFS Action                             filename                                                                                                        Size                      time taken(us)

626.212738

OPEN

/data/media/DCIM/Camera/VID_20000101_002412.mp4.tmp

flags=131585

mode =0

  628.187652

WRITE

VID_20000101_002412.mp4.tmp

101606

611

  628.187713

WRITE

VID_20000101_002412.mp4.tmp

101606

1160

 

  628.188995

WRITE

VID_20000101_002412.mp4.tmp

69782

457

  628.189056

WRITE

VID_20000101_002412.mp4.tmp

69782

885

 

Any clue why this anomaly ?

 

Warm Regards

Raghavendra G

 

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux