#ifdef RX_ENABLE_LOCKS
AFS_GUNLOCK();
#endif /* RX_ENABLE_LOCKS */
-#ifdef notdef
- code = RXAFS_InlineBulkStatus(tcp->id, &fidParm, &statParm,
- &cbParm, &volSync);
- if (code == RXGEN_OPCODE) {
-#endif
+
+ if (!(tcp->srvr->server->flags & SNO_INLINEBULK)) {
+ code = RXAFS_InlineBulkStatus(tcp->id, &fidParm, &statParm,
+ &cbParm, &volSync);
+ if (code == RXGEN_OPCODE) {
+ tcp->srvr->server->flags |= SNO_INLINEBULK;
+ inlinebulk = 0;
+ code = RXAFS_BulkStatus(tcp->id, &fidParm, &statParm,
+ &cbParm, &volSync);
+ } else
+ inlinebulk=1;
+ } else {
+ inlinebulk=0;
code = RXAFS_BulkStatus(tcp->id, &fidParm, &statParm, &cbParm,
&volSync);
- inlinebulk=0;
-#ifdef notdef
- } else {
- inlinebulk=1;
}
-#endif
-
#ifdef RX_ENABLE_LOCKS
AFS_GLOCK();
#endif /* RX_ENABLE_LOCKS */
#define SRVR_ISDOWN 0x20
#define SRVR_MULTIHOMED 0x40
#define SRVR_ISGONE 0x80
+#define SNO_INLINEBULK 0x100
struct server {
union {
afs_int32 numDowntimeIncidents; /* # (completed) downtime incidents */
afs_int32 sumOfDowntimes; /* Total downtime experienced, in seconds */
struct srvAddr *addr;
- char flags; /* Misc flags*/
+ afs_uint32 flags; /* Misc flags*/
};
#define afs_PutServer(servp, locktype)