]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
filestore: fix fallback/slow do_clone_range
authorSage Weil <sage@newdream.net>
Thu, 2 Jun 2011 16:17:02 +0000 (09:17 -0700)
committerSage Weil <sage@newdream.net>
Thu, 2 Jun 2011 16:17:22 +0000 (09:17 -0700)
commit502baeab980a476365ab134037c553f23765b4fa
treeb76cdd4483046cce88951cfeff1d073c73a99593
parentefee7466c57fb118ab14696c614f491ab3faa5fa
filestore: fix fallback/slow do_clone_range

We need to seek to the appropriate offsets on the src and destination
fd's for this to do the right thing.

Signed-off-by: Sage Weil <sage@newdream.net>
src/os/FileStore.cc