linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Cc: trond.myklebust@primarydata.com, linux-nfs@vger.kernel.org
Subject: Re: [PATCH] pnfs  support servers with multiple layout types
Date: Wed, 2 Mar 2016 08:37:46 -0800	[thread overview]
Message-ID: <20160302163746.GA25527@infradead.org> (raw)
In-Reply-To: <1456927079-4788-1-git-send-email-tigran.mkrtchyan@desy.de>

> +	for(i = 0; i < num && i < NFS_MAX_LAYOUT_TYPES; i++)
> +		layouttype[i] = be32_to_cpup(p++);

Can we use a bitmap and do something like

	layouttype |= (1 << be32_to_cpup(p++));

that's what I did for my unsubmitted patches to submit multiple
layouttypes in the Linux server..

  reply	other threads:[~2016-03-02 16:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02 12:08 [PATCH] pnfs support servers with multiple layout types Tigran Mkrtchyan
2016-03-02 12:47 ` kbuild test robot
2016-03-02 13:57 ` Tigran Mkrtchyan
2016-03-02 16:37   ` Christoph Hellwig [this message]
2016-03-02 19:22     ` Mkrtchyan, Tigran
2016-03-03 13:50     ` Mkrtchyan, Tigran
  -- strict thread matches above, loose matches on Subject: below --
2015-09-22 13:45 Tigran Mkrtchyan
2015-09-22 22:31 ` Trond Myklebust
2015-09-23  6:38   ` Mkrtchyan, Tigran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160302163746.GA25527@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=tigran.mkrtchyan@desy.de \
    --cc=trond.myklebust@primarydata.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).