From patchwork Fri Jan 23 11:12:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chaitanya Huilgol X-Patchwork-Id: 5692951 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D8D589F302 for ; Fri, 23 Jan 2015 11:12:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4C9DC202AE for ; Fri, 23 Jan 2015 11:12:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53CBC200DB for ; Fri, 23 Jan 2015 11:12:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753422AbbAWLMz (ORCPT ); Fri, 23 Jan 2015 06:12:55 -0500 Received: from mail-pd0-f181.google.com ([209.85.192.181]:50522 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751795AbbAWLMy (ORCPT ); Fri, 23 Jan 2015 06:12:54 -0500 Received: by mail-pd0-f181.google.com with SMTP id g10so5438136pdj.12 for ; Fri, 23 Jan 2015 03:12:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:user-agent:mime-version :content-type; bh=udlWqlsnBtbgJ86xT7vH46h2CQGdJgUVVTOngqR4uY8=; b=hNa+XlaCxYFOyOh9ybowMwfllPCqkVnEA5mlCBHmoxSykbfZ1JMqNKS+tGebJLzy0K jHCChke4Y2f0E7eH29eiYUONEACQsr3+uIa8EYiB4zpI0ZVZcAyByL4gXMiLOACY0Ac/ tyQI3fkCW9faAs6n9nSPcj7OK17P6ZBPKMZigzLn4oa4sntxVN0sTFCeVKCj3o1VcacR HkWgOl8/mTD0Bnrr5F8Lk5AV7a7aOTaKx30Wkz+nhrZ8cgSCExUyCkRhF8q3fhIMJc5i fxxt+6QFD0/EEuLNUlbWBR8HVM56pRS7T8adkTumv7Gv5Eq9nK5Z5k16kxwjguBe+z7V JHzw== X-Received: by 10.68.191.69 with SMTP id gw5mr10075542pbc.75.1422011574141; Fri, 23 Jan 2015 03:12:54 -0800 (PST) Received: from omr-cteravm-gm.sdcorp.global.sandisk.com ([182.71.241.147]) by mx.google.com with ESMTPSA id u5sm1593932pdh.54.2015.01.23.03.12.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Jan 2015 03:12:53 -0800 (PST) From: Chaitanya Huilgol X-Google-Original-From: Chaitanya Huilgol Date: Fri, 23 Jan 2015 16:42:50 +0530 (IST) To: ceph-devel@vger.kernel.org Subject: [PATCH 2/2] ceph: Show no_tcp_nodelay in mount options Message-ID: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, T_TVD_MIME_EPI,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Chaitanya Huilgol Added ‘no_tcp_nodelay’ in show mount options interface Signed-off-by: Chaitanya Huilgol --- fs/ceph/super.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 50f06cd..5234d66 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c @@ -425,6 +425,8 @@ static int ceph_show_options(struct seq_file *m, struct dentry *root) seq_puts(m, ",noshare"); if (opt->flags & CEPH_OPT_NOCRC) seq_puts(m, ",nocrc"); + if (opt->flags & CEPH_OPT_NO_TCP_NODELAY) + seq_puts(m, ",no_tcp_nodelay"); if (opt->name) seq_printf(m, ",name=%s", opt->name);