[stgt] [PATCHes] Updated patches for thin-provisioning support

ronnie sahlberg ronniesahlberg at gmail.com
Sat Apr 14 11:24:10 CEST 2012


On Sat, Apr 14, 2012 at 6:24 PM, FUJITA Tomonori
<fujita.tomonori at lab.ntt.co.jp> wrote:
> On Sun, 1 Apr 2012 08:26:27 +1000
> ronnie sahlberg <ronniesahlberg at gmail.com> wrote:
>
...
>> +                     /* we can only punch holes aligned for full blocks.
>> +                      * if not aligned to a block boundary we overwrite
>> +                      * the first partial block with zero
>> +                      */
>
> Where this limit comes from? seems that ext4 can handle the unaligned
> request.
>

BTRFS on linux 3.2

You cant punch holes smaller than the fs blocksize anyway so it is
either replaced by "write all zero"
in tgtd or relying on the underlying filesystem doing it for you
instead of failing.


regards
ronnie sahlberg
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list