Hi,
hmm... there are different versions of the patch and different git
repositories around. This one:
http://review.whamcloud.com/#/c/8607/
works for the github branch you mentioned:
patch -p1 < ~/Downloads/2661328b.diff
patching file lustre/llite/dir.c
Hunk #1 succeeded at 1051 with fuzz 1 (offset -126 lines).
Hunk #2 succeeded at 1197 (offset -112 lines).
Hunk #3 succeeded at 1264 (offset -117 lines).
sorry, this was against an outdated
git-checkout - against the head of
b1_8 the 2661328b patch even applies without offset
On 03/24/2015 04:18 PM, Marcin Dulak wrote:
> Hi,
>
> the patch fails to apply against the "git clone -b b1_8
>
https://github.com/rread/lustre.git" branch.
> As Michael noticed
> (
https://lists.01.org/pipermail/hpdd-discuss/2014-November/001409.html) the
> github's b1_8 branch is different from
>
https://downloads.hpdd.intel.com/public/lustre/lustre-1.8.9-wc1/el6/clien...
>
>
> I chose to use the githubs b1_8 branch because it provides the
> autogen.sh script (the src.rpm lacks that).
> I'm applying the patch with:
>
> rhel6_lustre18.vm.provision :shell, :inline => "wget
>
'http://review.whamcloud.com/changes/5781/revisions/dcfd53de927e053f541e18773e953ba58f1622d7/patch?zip'"
> rhel6_lustre18.vm.provision :shell, :inline => "unzip
'patch?zip'"
> rhel6_lustre18.vm.provision :shell, :inline => "cd lustre-1.8.9; patch
> -p1 < ../dcfd53de.diff"
>
> and the rej file is attached.
> I have verified that the patch fails to apply to
>
https://downloads.hpdd.intel.com/public/lustre/lustre-1.8.9-wc1/el6/clien...
> too.
>
> Best regards,
>
> Marcin
>
> On 03/24/2015 01:52 PM, Martin Hecht wrote:
>> Hi Marcin,
>>
>> On 03/24/2015 11:40 AM, Marcin Dulak wrote:
>>> root/rpmbuild/BUILD/lustre-1.8.9/lustre/llite/dir.c: In function
>>> 'll_dir_ioctl':
>>> /root/rpmbuild/BUILD/lustre-1.8.9/lustre/llite/dir.c:1288: error:
>>> assignment from incompatible pointer type
>>> /root/rpmbuild/BUILD/lustre-1.8.9/lustre/llite/dir.c:1360: error:
>>> passing argument 1 of 'putname' from incompatible pointer type
>> this looks like LU-2800 - you can get the appropriate patch from
>>
http://review.whamcloud.com/#/c/5781/
>>
>> best regards,
>> Martin
>>