- revert default ptltrace_on_timeout to 0 - timeouts can be routine in
redundant router configurations.
- merged minor fixes from Cray XT 2.0
"get portals to ack all PUTs");
#ifdef CRAY_XT3
"get portals to ack all PUTs");
#ifdef CRAY_XT3
-static int ptltrace_on_timeout = 1;
+static int ptltrace_on_timeout = 0;
CFS_MODULE_PARM(ptltrace_on_timeout, "i", int, 0644,
"dump ptltrace on timeout");
CFS_MODULE_PARM(ptltrace_on_timeout, "i", int, 0644,
"dump ptltrace on timeout");
filp = cfs_filp_open(filename,
O_CREAT|O_EXCL|O_WRONLY|O_LARGEFILE, 0600, &rc);
if (filp == NULL) {
filp = cfs_filp_open(filename,
O_CREAT|O_EXCL|O_WRONLY|O_LARGEFILE, 0600, &rc);
if (filp == NULL) {
- CERROR("Error %d creating %s\n", rc, filename);
+ if (rc != -EEXIST)
+ CERROR("Error %d creating %s\n", rc, filename);
- LASSERT (start >= tmpbuf && start + len <= tmpbuf + PAGE_SIZE);
+ if (start < tmpbuf || start + len > tmpbuf + PAGE_SIZE) {
+ CERROR("ptl_proc_read bug: %p for %d not in %p for %d\n",
+ start, len, tmpbuf, PAGE_SIZE);
+ break;
+ }
rc = cfs_filp_write(filp, start, len, cfs_filp_poff(filp));
if (rc != len) {
rc = cfs_filp_write(filp, start, len, cfs_filp_poff(filp));
if (rc != len) {
* odd-length message will misalign subsequent messages and
* force the fixup below... */
if ((ev->mlength & 7) != 0)
* odd-length message will misalign subsequent messages and
* force the fixup below... */
if ((ev->mlength & 7) != 0)
- CWARN("Message from %s has odd length %llu: "
+ CWARN("Message from %s has odd length "LPU64": "
"probable version incompatibility\n",
kptllnd_ptlid2str(ev->initiator),
"probable version incompatibility\n",
kptllnd_ptlid2str(ev->initiator),
#endif
rx = kptllnd_rx_alloc();
if (rx == NULL) {
#endif
rx = kptllnd_rx_alloc();
if (rx == NULL) {