- osd: use client session to control osdmaps to clients (auth branch)
- osd: error handling
- uclient: readdir from cache
-- replicate rstat error?
- mds: basic auth checks
later
"bytes to fd " + fileHandle + ": stream closed");
}
- // sanity check
- if (null == buf) {
- }
-
- // check for proper index bounds
- if((off < 0) || (len < 0) || (off + len > buf.length)) {
- }
-
int result;
int write;
while (len>0) {
}
catch (ArrayStoreException ae) {
throw new IOException("Uh-oh, CephOutputStream failed to do an array"
- + "copy due to type mismatch...");
+ + " copy due to type mismatch...");
}
catch (NullPointerException ne) {
throw new IOException("CephOutputStream.write: cannot write "
if (result != bufUsed)
throw new IOException("CephOutputStream.write: Wrote only "
+ result + " bytes of " + bufUsed
- + "in buffer!");
+ + " in buffer! Data may be lost or written"
+ + " twice to Ceph!");
bufUsed = 0;
}
+
}
return;
}
+ "was incomplete: only " + result + " of "
+ bufUsed + " bytes were written.");
}
+ bufUsed = 0;
return;
}
}