__generic_file_aio_write man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

__GENERIC_FILE_AIO_W(9)	  Memory Management in Linux   __GENERIC_FILE_AIO_W(9)

NAME
       __generic_file_aio_write - write data to a file

SYNOPSIS
       ssize_t __generic_file_aio_write(struct kiocb * iocb,
					const struct iovec * iov,
					unsigned long nr_segs, loff_t * ppos);

ARGUMENTS
       iocb
	   IO state structure (file, offset, etc.)

       iov
	   vector with data to write

       nr_segs
	   number of segments in the vector

       ppos
	   position where to write

DESCRIPTION
       This function does all the work needed for actually writing data to a
       file. It does all basic checks, removes SUID from the file, updates
       modification times and calls proper subroutines depending on whether we
       do direct IO or a standard buffered write.

       It expects i_mutex to be grabbed unless we work on a block device or
       similar object which does not need locking at all.

       This function does *not* take care of syncing data in case of O_SYNC
       write. A caller has to handle it. This is mainly due to the fact that
       we want to avoid syncing under i_mutex.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013	       __GENERIC_FILE_AIO_W(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net