On 09/14/2014 04:24 PM, Trond Myklebust wrote: > On Sun, Sep 14, 2014 at 6:55 AM, Boaz Harrosh <openosd@xxxxxxxxx> wrote: <> > > No Boaz. I mean that it is utterly pointless and stupid to return a > layout that doesn't preallocate any resources when it isn't necessary > to do so. > "preallocate any resources" where? at the client it might not but the server might have allocated resources per lo-segment. For example a CEPH server allocates a device_id per file-lo-segment. If you lo_return a truncated segment it might be able to free that device_id. Cheers Boaz -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html