cmogstored dev/user discussion/issues/patches/etc
 help / color / mirror / code / Atom feed
* [PATCH] cmogstored.h: remove unused mog_file.mmptr member
@ 2016-12-16 11:16 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-12-16 11:16 UTC (permalink / raw)
  To: cmogstored-public

This was intended for zero-copy PUT support, but that is
probably not worth it due to checksumming and the general
unpredictability of mmap/munmap performance, especially
on non-Linux systems.
 cmogstored.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cmogstored.h b/cmogstored.h
index de2b5c2..f5c682e 100644
--- a/cmogstored.h
+++ b/cmogstored.h
@@ -279,7 +279,6 @@ struct mog_file {
 	char *path;
 	size_t pathlen;
 	char *tmppath; /* NULL-ed if rename()-ed away */
-	void *mmptr;
 	struct mog_ioq *ioq;
 	struct mog_svc *svc;
 	struct mog_digest digest;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-16 11:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-16 11:16 [PATCH] cmogstored.h: remove unused mog_file.mmptr member Eric Wong

Code repositories for project(s) associated with this public inbox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).