LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-18-2015, 05:04 AM   #1
dmsfuddid
LQ Newbie
 
Registered: May 2015
Posts: 1

Rep: Reputation: Disabled
Question bio has empty data even, request queue issue huge I/O


I am capturing I/O traces in block layer ( kernel version : 3.4.0 / Platform: Android 4.4)
in blk_peek_request()
- to get IO Size, i use blk_req_bytes(request queue), return IO Size (bytes)
- to check data contents, i call bio_data() function, however it returns NULL,

how it happens ?? is there anyone to get me some idea.
when bio_data() returns NULL ?? (i know the bi_vcnt is 0 or bi_ivec->page points NULL)

Last edited by dmsfuddid; 05-18-2015 at 05:57 AM.
 
Old 05-21-2015, 03:40 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,147

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
bios are used for barrier and sync, not just data I/O.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How toAccess request queue of block device driver (e.g. sda) in my own kernel module nnilesh Linux - Kernel 0 04-03-2012 05:25 AM
Does sd card driver support the processing of single request (bio) or the queue alex_ren Linux - Kernel 1 10-27-2011 11:24 PM
Block Bio Issue.... pvsachindranath Linux - Kernel 2 10-19-2011 12:13 AM
PHP: Problems comparing data from a DB with data from http request eantoranz Programming 3 08-14-2008 07:55 PM
k3b copy CD : request for empty device tramni1980 Linux - Server 1 08-22-2006 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration