Login  Register

Process state 'D' in linux

Posted by satish on Jan 08, 2019; 12:24pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Process-state-D-in-linux-tp7057.html

Dear Erman,

I have gone through 2 of our blogs to understand the D state processes

http://ermanarslan.blogspot.com/2014/03/linux-d-state-processes-and-load-average.html
http://ermanarslan.blogspot.com.tr/2013/08/linux-d-state-processes.html

when a process issues an I/O operation , the kernel is triggered to run the relevant system call..
This code goes from filename to filesystem, from filesystem to block device and device driver, and then device driver sends the command to the hardware to fetch a block on disk.
The process, on the other hand ; is put in sleeping state (D). When the data is fetched, the process is put in runnable state again. After this point, the process will run(continue its work) when the scheduler allow it to.

could you please let us know whether processes with 'D' state will hold the CPU until its operation is completed?

Thank you
satish