From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE2B1C54FCC for ; Tue, 21 Apr 2020 16:56:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9BB982070B for ; Tue, 21 Apr 2020 16:56:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587488175; bh=kp5nplx63fBCtRMlxFYjJTVu+BQYNBrjo167uQPR67o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=RfQtM6VDUqqFiywlc+qjbu9Bm+8BEtUhvC7SzZh9BX/4RE/DJi9f4+qRqbiqwMzVv sCTVad5fql+0fKL26+o9JBhzcwrrTSMVVvbwQs6gvzSHoOxq6w4UIxVR0EdOneg35/ vH2YHND6DVBT5Rovu0p5paJIiP+YL3qFQBJ92HvA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729092AbgDUQ4H (ORCPT ); Tue, 21 Apr 2020 12:56:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:57318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729107AbgDUQyr (ORCPT ); Tue, 21 Apr 2020 12:54:47 -0400 Received: from mail.kernel.org (ip5f5ad4d8.dynamic.kabel-deutschland.de [95.90.212.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5C5EB20784; Tue, 21 Apr 2020 16:54:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587488084; bh=kp5nplx63fBCtRMlxFYjJTVu+BQYNBrjo167uQPR67o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O5xMph39ozROnyaGTCDuAG1E0IEn6+Fz6S0LSXkq5WdjrAgUD5JEcBi1BZA+WiMJc lNoRH3KDsZxHBXZUTCEZB5jGvGrw4SmrJX2Sl0A31ED9zKmzd/O6HU5ooOJNRsFstx 4yAGUkMDl8PQdayaG9oWVOcMcBlMx3lwYDxfq9v8= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jQwAU-00CmEb-Iq; Tue, 21 Apr 2020 18:54:42 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH v2 16/29] docs: filesystems: convert locks.txt to ReST Date: Tue, 21 Apr 2020 18:54:27 +0200 Message-Id: <5af169bc55394e88adaf46b149ddcf43817fb8bd.1587487612.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org - Add a SPDX header; - Adjust document and section titles; - Add it to filesystems/index.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/filesystems/index.rst | 1 + Documentation/filesystems/{locks.txt => locks.rst} | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) rename Documentation/filesystems/{locks.txt => locks.rst} (93%) diff --git a/Documentation/filesystems/index.rst b/Documentation/filesystems/index.rst index 844e8065ac82..96190e268c11 100644 --- a/Documentation/filesystems/index.rst +++ b/Documentation/filesystems/index.rst @@ -28,6 +28,7 @@ algorithms work. dnotify fiemap files + locks automount-support diff --git a/Documentation/filesystems/locks.txt b/Documentation/filesystems/locks.rst similarity index 93% rename from Documentation/filesystems/locks.txt rename to Documentation/filesystems/locks.rst index 5368690f412e..10f67fb9ce07 100644 --- a/Documentation/filesystems/locks.txt +++ b/Documentation/filesystems/locks.rst @@ -1,4 +1,8 @@ - File Locking Release Notes +.. SPDX-License-Identifier: GPL-2.0 + +========================== +File Locking Release Notes +========================== Andy Walker @@ -6,7 +10,7 @@ 1. What's New? --------------- +============== 1.1 Broken Flock Emulation -------------------------- @@ -25,7 +29,7 @@ anyway (see the file "Documentation/process/changes.rst".) --------------------------- 1.2.1 Typical Problems - Sendmail ---------------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Because sendmail was unable to use the old flock() emulation, many sendmail installations use fcntl() instead of flock(). This is true of Slackware 3.0 for example. This gave rise to some other subtle problems if sendmail was @@ -37,7 +41,7 @@ to lock solid with deadlocked processes. 1.2.2 The Solution ------------------- +^^^^^^^^^^^^^^^^^^ The solution I have chosen, after much experimentation and discussion, is to make flock() and fcntl() locks oblivious to each other. Both can exists, and neither will have any effect on the other. -- 2.25.2