From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f45.google.com ([209.85.218.45]:36455 "EHLO mail-oi0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750906AbdAMQVp (ORCPT ); Fri, 13 Jan 2017 11:21:45 -0500 Received: by mail-oi0-f45.google.com with SMTP id u143so61778891oif.3 for ; Fri, 13 Jan 2017 08:21:45 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1484323110-73569-1-git-send-email-dsheets@docker.com> References: <1484323110-73569-1-git-send-email-dsheets@docker.com> From: Miklos Szeredi Date: Fri, 13 Jan 2017 17:21:44 +0100 Message-ID: Subject: Re: [PATCH] fuse: fix time_to_jiffies nsec sanity check To: David Sheets Cc: linux-fsdevel@vger.kernel.org, fuse-devel , David Sheets Content-Type: text/plain; charset=UTF-8 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Jan 13, 2017 at 4:58 PM, David Sheets wrote: > bcb6f6d2b9c299db32b20f4357c36a101e7f0293 introduced clamped nsec values > in time_to_jiffies but used the max of nsec and NSEC_PER_SEC - 1 instead > of the min. Because of this, dentries would stay in the cache longer > than requested and go stale in scenarios that relied on their timely > eviction. Thanks, applied. Miklos