Goswin, --On 22 May 2011 00:02:44 +0200 Goswin von Brederlow <[email protected]> wrote:
> Wouldn't it make sense to allow offset and length to flush only parts of > an NBD device? offset == length == 0 could be an alias for the whole > disk. One could do that. Currently the NBD_CMD_FLUSH implementation is modeled on Linux's REQ_FLUSH, which is a whole device command. Are there other users of nbd-server which would benefit from such a partial flush? You also end up with a question as to whether you would flush the metadata or no (fsync() flushes metadata but sync_file_range dones not). -- Alex Bligh ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nbd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nbd-general
