Re: Direct IO on CephFS for blocks larger than 8MB

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

 



I just sent out the patch with sign-off. Thanks for testing.

2013/3/19 Sage Weil <sage@xxxxxxxxxxx>:
> On Mon, 18 Mar 2013, Greg Farnum wrote:
>> On Saturday, March 16, 2013 at 5:38 AM, Henry C Chang wrote:
>> > The following patch should fix the problem.
>> >
>> > -Henry
>> >
>> > diff --git a/fs/ceph/file.c b/fs/ceph/file.c
>> > index e51558f..4bcbcb6 100644
>> > --- a/fs/ceph/file.c
>> > +++ b/fs/ceph/file.c
>> > @@ -608,7 +608,7 @@ out:
>> > pos += len;
>> > written += len;
>> > left -= len;
>> > - data += written;
>> > + data += len;
>> > if (left)
>> > goto more;
>>
>> This looks good to me. If you'd like to submit it as a proper patch with a sign-off I'll pull it into our tree. :)
>> -Greg
>
> I just added a quick test and it fixes it up.  :)
>
> sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux