{"shas":[["602d48e31384d7bb45c73564295728660e870f2a","6dd34506bbd5e58221bbb3e4732d97c91f02277b@newdream.net","ceph: fix comment, remove extraneous args\n\nThe offset/length arguments aren't used.\n\nSigned-off-by: Sage Weil <sage@newdream.net>\n\n[Upstream commit e98b6fed84d0f0155d7b398e0dfeac74c792f2d0]","Sage Weil"],["e9c7d57db69da339a4af23549761690dced196c2","6dd34506bbd5e58221bbb3e4732d97c91f02277b@newdream.net","ceph: make page alignment explicit in osd interface\n\nWe used to infer alignment of IOs within a page based on the file offset,\nwhich assumed they matched.  This broke with direct IO that was not aligned\nto pages (e.g., 512-byte aligned IO).  We were also trusting the alignment\nspecified in the OSD reply, which could have been adjusted by the server.\n\nExplicitly specify the page alignment when setting up OSD IO requests.\n\nSigned-off-by: Sage Weil <sage@newdream.net>\n\n[Upstream commit b7495fc2ff941db6a118a93ab8d61149e3f4cef8]","Sage Weil"],["bdae2498c24120be6ae03ff7c3a307cceaf0dabd","6dd34506bbd5e58221bbb3e4732d97c91f02277b@newdream.net","ceph: explicitly specify page alignment in network messages\n\nThe alignment used for reading data into or out of pages used to be taken\nfrom the data_off field in the message header.  This only worked as long\nas the page alignment matched the object offset, breaking direct io to\nnon-page aligned offsets.\n\nInstead, explicitly specify the page alignment next to the page vector\nin the ceph_msg struct, and use that instead of the message header (which\nprobably shouldn't be trusted).  The alloc_msg callback is responsible for\nfilling in this field properly when it sets up the page vector.\n\nSigned-off-by: Sage Weil <sage@newdream.net>\n\n[Upstream commit c5c6b19d4b8f5431fca05f28ae9e141045022149]","Sage Weil"],["025b6e51abba23c64d06249550153afd472b1524","6dd34506bbd5e58221bbb3e4732d97c91f02277b@newdream.net","ceph: fix dangling pointer\n\nClear fi->last_name when it's freed.  The only caller is rewinddir() (or\nequivalent lseek).\n\nSigned-off-by: Sage Weil <sage@newdream.net>\n\n[Upstream commit a1629c3b24f26ec1b0f534874af674a6b4c1540b]","Sage Weil"],["888f1e1d2779b1622603717457717c8649a128c5","6dd34506bbd5e58221bbb3e4732d97c91f02277b@newdream.net","ceph: fix frag offset for non-leftmost frags\n\nWe start at offset 2 for the leftmost frag, and 0 for subsequent frags.\nWhen we reach the end (rightmost), we go back to 2.  This fixes readdir on\nfragmented (large) directories.\n\nSigned-off-by: Sage Weil <sage@newdream.net>\n\n[Upstream commit 7b88dadc13e0004947de52df128dbd5b0754ed0a]","Sage Weil"],["ff5cd10cf515b7ff4888bcf04edea69450799050","6dd34506bbd5e58221bbb3e4732d97c91f02277b@newdream.net","ceph: fix readdir EOVERFLOW on 32-bit archs\n\nOne of the readdir filldir_t callers was passing the raw ceph 64-bit ino\ninstead of the hashed 32-bit one, producing an EOVERFLOW in the filler\ncallback.  Fix this by calling the ceph_vino_to_ino() helper to do the\nconversion.\n\nReported-by: Jan Smets <jan.smets@alcatel-lucent.com>\nTested-by: Jan Smets <jan.smets@alcatel-lucent.com>\nSigned-off-by: Sage Weil <sage@newdream.net>\n\n[Upstream commit 3105c19c450ac7c18ab28c19d364b588767261b3]","Sage Weil"]],"ref":"refs/heads/master","push_id":21297842,"head":"ff5cd10cf515b7ff4888bcf04edea69450799050","size":6}