From patchwork Mon Jan 27 15:58:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Dryomov X-Patchwork-Id: 3542941 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BDE17C02DC for ; Mon, 27 Jan 2014 16:00:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1E87D20154 for ; Mon, 27 Jan 2014 16:00:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7EAC120123 for ; Mon, 27 Jan 2014 16:00:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753948AbaA0QAH (ORCPT ); Mon, 27 Jan 2014 11:00:07 -0500 Received: from mail-la0-f52.google.com ([209.85.215.52]:53333 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752937AbaA0QAF (ORCPT ); Mon, 27 Jan 2014 11:00:05 -0500 Received: by mail-la0-f52.google.com with SMTP id c6so4601888lan.39 for ; Mon, 27 Jan 2014 08:00:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eXIfi8SqMstZQsNHl4elrlhho+9fsSEg+sDQLC+ImPw=; b=JG0lNqa+C9VBBEgf0XaprxCAtbaWOKRxCVVNfeDuisPpv2lbpaPex8cHhZz8hFYKIC +Q46RgDTi0IpZ4kUPrVAiBoaomSzgaxC/3d6A+oEhQl957dJCfmlHrOb9Jg3YO90Qnrm fEsxUA5kYSO5zh8KH1JitNXFv9vLr9x3bdH9x8/xdXSyZBpCd4iIpLVfyjx1ua1VP1XZ D4dWA2Y+VFq+VR9Xe5NiwCtEy2undm6h26Lsf2EEsAK40BBhSHIToczZ0znw/r0I5zOl pcqQGqDdgEXefSxSkGcYSQayi6wtVSp8GLirUp1s7V+ycGWZinzcQkxze5aB31yj55BG rSPA== X-Gm-Message-State: ALoCoQnUFS+BSn0lGs/D0dq1HQvLHWCO3CROZacfCFE3Je22UrJkKsNtCAPe07dnWTHGen2pLnvM X-Received: by 10.152.28.73 with SMTP id z9mr4950331lag.29.1390838404219; Mon, 27 Jan 2014 08:00:04 -0800 (PST) Received: from localhost ([109.110.66.110]) by mx.google.com with ESMTPSA id p3sm17846457lae.2.2014.01.27.08.00.03 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 27 Jan 2014 08:00:03 -0800 (PST) From: Ilya Dryomov To: ceph-devel@vger.kernel.org Cc: ilya.dryomov@inktank.com Subject: [PATCH 06/11] libceph: CEPH_OSD_FLAG_* enum update Date: Mon, 27 Jan 2014 17:58:48 +0200 Message-Id: <1390838333-32266-7-git-send-email-ilya.dryomov@inktank.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1390838333-32266-1-git-send-email-ilya.dryomov@inktank.com> References: <1390838333-32266-1-git-send-email-ilya.dryomov@inktank.com> Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 Update CEPH_OSD_FLAG_* enum. (We need CEPH_OSD_FLAG_IGNORE_OVERLAY to support tiering). Signed-off-by: Ilya Dryomov --- include/linux/ceph/rados.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/ceph/rados.h b/include/linux/ceph/rados.h index 68c96a508ac2..96292df4041b 100644 --- a/include/linux/ceph/rados.h +++ b/include/linux/ceph/rados.h @@ -344,6 +344,10 @@ enum { CEPH_OSD_FLAG_EXEC_PUBLIC = 0x1000, /* DEPRECATED op may exec (public) */ CEPH_OSD_FLAG_LOCALIZE_READS = 0x2000, /* read from nearby replica, if any */ CEPH_OSD_FLAG_RWORDERED = 0x4000, /* order wrt concurrent reads */ + CEPH_OSD_FLAG_IGNORE_CACHE = 0x8000, /* ignore cache logic */ + CEPH_OSD_FLAG_SKIPRWLOCKS = 0x10000, /* skip rw locks */ + CEPH_OSD_FLAG_IGNORE_OVERLAY = 0x20000, /* ignore pool overlay */ + CEPH_OSD_FLAG_FLUSH = 0x40000, /* this is part of flush */ }; enum {