Basic doubt regarding block layer

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

 



One basic doubt regarding block layer & write system call. When a
process writes to a file in blocking mode, when the 'write' system
call returns,

A. will the process be returned only after actually writing the data
on to the target block device? In this case we will get the benefit of
elevator only if multiple processes are writing to the adjacent
locations in the device. Is this true?


OR

B. will the process be returned after scheduling the writing (say
after passing the data to the elevator)? If this case is true, how
would the process ensure that the data has been actually written on to
the block device?



--
Thanks
Sudheer

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[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