From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 785D51FF40 for ; Fri, 16 Dec 2016 11:16:43 +0000 (UTC) From: Eric Wong To: cmogstored-public@bogomips.org Subject: [PATCH] cmogstored.h: remove unused mog_file.mmptr member Date: Fri, 16 Dec 2016 11:16:43 +0000 Message-Id: <20161216111643.12939-1-e@80x24.org> List-Id: 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; -- EW