From 5752a8d1b051b1cb4e4d62e6fd1afbeb28ce7eaf Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 16 Dec 2016 11:04:28 +0000 Subject: cmogstored.h: remove unused mog_file.mmptr member 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; -- cgit v1.2.3-24-ge0c7