All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Anna.Schumaker@netapp.com
Cc: bfields@fieldses.org, linux-nfs@vger.kernel.org
Subject: Re: [PATCH 3/3] nfsd: Add DEALLOCATE support
Date: Tue, 9 Sep 2014 08:56:26 -0700	[thread overview]
Message-ID: <20140909155626.GC21928@infradead.org> (raw)
In-Reply-To: <1410274182-30740-4-git-send-email-Anna.Schumaker@Netapp.com>

> -	status = nfsd4_vfs_fallocate(&cstate->current_fh, file,
> +	status = nfsd4_vfs_fallocate(&cstate->current_fh, file, false,
>  				     allocate->alloc_offset,
>  				     allocate->alloc_length);

Maye just pass the normal Linux fallocate flags to nfsd4_vfs_fallocate
for future extensibility?

Otherwise looks as good as the previous one.


  reply	other threads:[~2014-09-09 15:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-09 14:49 [PATCH 0/3] NFSD: Add ALLOCATE and DEALLOCATE support Anna.Schumaker
2014-09-09 14:49 ` [PATCH 1/3] VFS: Rename do_fallocate() to vfs_fallocate() Anna.Schumaker
2014-09-09 15:50   ` Christoph Hellwig
2014-09-10 19:43     ` J. Bruce Fields
2014-09-10 22:12       ` Christoph Hellwig
2014-09-09 14:49 ` [PATCH 2/3] nfsd: Add ALLOCATE support Anna.Schumaker
2014-09-09 15:55   ` Christoph Hellwig
2014-09-09 19:17     ` Anna Schumaker
2014-09-10 20:18   ` J. Bruce Fields
2014-09-10 22:11     ` Christoph Hellwig
2014-09-10 22:26       ` Christoph Hellwig
2014-09-09 14:49 ` [PATCH 3/3] nfsd: Add DEALLOCATE support Anna.Schumaker
2014-09-09 15:56   ` Christoph Hellwig [this message]
2014-09-10 20:19   ` J. Bruce Fields
2014-09-10 22:13     ` Christoph Hellwig
2014-09-09 18:13 ` [PATCH 0/3] NFSD: Add ALLOCATE and " Christoph Hellwig
2014-09-09 19:00   ` J. Bruce Fields

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=20140909155626.GC21928@infradead.org \
    --to=hch@infradead.org \
    --cc=Anna.Schumaker@netapp.com \
    --cc=bfields@fieldses.org \
    --cc=linux-nfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.