started fixing dataserver interface to use writev