Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 22882 invoked from network); 1 Dec 2010 14:19:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Dec 2010 14:19:39 -0000 Received: (qmail 32182 invoked by uid 500); 1 Dec 2010 14:19:37 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 31974 invoked by uid 500); 1 Dec 2010 14:19:37 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 31883 invoked by uid 99); 1 Dec 2010 14:19:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 14:19:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Dec 2010 14:19:34 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB1EJDG0010634 for ; Wed, 1 Dec 2010 14:19:13 GMT Message-ID: <4142185.46581291213153058.JavaMail.jira@thor> Date: Wed, 1 Dec 2010 09:19:13 -0500 (EST) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Subject: [jira] Created: (LUCENE-2787) disable atime for DirectIOLinuxDirectory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org disable atime for DirectIOLinuxDirectory ---------------------------------------- Key: LUCENE-2787 URL: https://issues.apache.org/jira/browse/LUCENE-2787 Project: Lucene - Java Issue Type: Improvement Components: contrib/* Reporter: Robert Muir Fix For: 3.1, 4.0 In Linux's open(): O_NOATIME (Since Linux 2.6.8) Do not update the file last access time (st_atime in the inode) when the file is read(2). This flag is intended for use by indexing or backup programs, where its use can significantly reduce the amount of disk activity. This flag may not be effective on all filesystems. One example is NFS, where the server maintains the access time. So we should do this in our linux-specific DirectIOLinuxDirectory. Separately (offtopic), it would be better if this was a LinuxDirectory that only uses O_DIRECT when it should :) It would be nice to think about an optional modules/native for common platforms similar to what tomcat provides Its easier to test directories like this now (-Dtests.directory)... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org