Re: [PATCHes] Updated patches for thin-provisioning support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 14, 2012 at 6:24 PM, FUJITA Tomonori
<fujita.tomonori@xxxxxxxxxxxxx> wrote:
> On Sun, 1 Apr 2012 08:26:27 +1000
> ronnie sahlberg <ronniesahlberg@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux