]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs: allow non page aligned pnfs layout segments
authorWeston Andros Adamson <dros@primarydata.com>
Thu, 15 May 2014 15:56:55 +0000 (11:56 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 29 May 2014 15:11:49 +0000 (11:11 -0400)
commitfe8f6b71f41cfd3f025d8b7f86cd12f94937cf88
tree979464ece075c8edaf8a9dac88ff9e8904f2ded3
parentf56685e8d7ba69448b43fade0538f621aa18dd8d
pnfs: allow non page aligned pnfs layout segments

Remove alignment checks that would revert to MDS and change pg_test
to return the max ammount left in the segment (or other pg_test call)
up to size of passed request, or 0 if no space is left.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c