[Bug 588861] Re: "pad block corrupted" error when trying to register an image with 2.6.34 kernel

Tim Gardner tim.gardner at canonical.com
Fri Jun 25 04:18:24 BST 2010


works with f21121cde6e617b90cd03ce083652ca543004dc2

rtg at zinc:~/linux-2.6$ git bisect good
cc56f7de7f00d188c7c4da1e9861581853b9e92f is first bad commit
commit cc56f7de7f00d188c7c4da1e9861581853b9e92f
Author: Changli Gao <xiaosuo at gmail.com>
Date:   Wed Nov 4 09:09:52 2009 +0100

    sendfile(): check f_op.splice_write() rather than f_op.sendpage()
    
    sendfile(2) was reworked with the splice infrastructure, but it still
    checks f_op.sendpage() instead of f_op.splice_write() wrongly.  Although
    if f_op.sendpage() exists, f_op.splice_write() always exists at the same
    time currently, the assumption will be broken in future silently.  This
    patch also brings a side effect: sendfile(2) can work with any output
    file.  Some security checks related to f_op are added too.
    
    Signed-off-by: Changli Gao <xiaosuo at gmail.com>
    Signed-off-by: Jens Axboe <jens.axboe at oracle.com>

:040000 040000 c10964cc42af214af80ecfd5cc3e9e873c09b8d5
a1fecaea1c9a54c62471cdfe3b6540ca6619e2cb M      fs

-- 
"pad block corrupted" error when trying to register an image with 2.6.34 kernel
https://bugs.launchpad.net/bugs/588861
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list