Linux NFS development
 help / color / mirror / Atom feed
* Updates to the NFSv4.2 xdr
@ 2015-03-05 18:33 Tom Haynes
  2015-03-06 17:00 ` Tom Haynes
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Haynes @ 2015-03-05 18:33 UTC (permalink / raw)
  To: linux-nfs

Hi,

We've just pushed two changes to the XDR:

   struct COPY_NOTIFY4resok {
           nfstime4        cnr_lease_time;
           netloc4         cnr_source_server<>;
   };

became:

   struct COPY_NOTIFY4resok {
           nfstime4        cnr_lease_time;
           stateid4        cnr_stateid;
           netloc4         cnr_source_server<>;
   };

and

   enum netloc_type4 {
           NL4_NAME        = 0,
           NL4_URL         = 1,
           NL4_NETADDR     = 2
   };

became:

   enum netloc_type4 {
           NL4_NAME        = 1,
           NL4_URL         = 2,
           NL4_NETADDR     = 3
   };

Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Updates to the NFSv4.2 xdr
  2015-03-05 18:33 Updates to the NFSv4.2 xdr Tom Haynes
@ 2015-03-06 17:00 ` Tom Haynes
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Haynes @ 2015-03-06 17:00 UTC (permalink / raw)
  To: linux-nfs

And as a follow-up, I took Jorge's changes for the COPY result:

   struct COPY4res {
           nfsstat4        cr_status;
           write_response4 cr_response;
           bool            cr_consecutive;
           bool            cr_synchronous;
   };

becomes:

truct write_response4 {
           stateid4        wr_callback_id<1>;
           length4         wr_count;
           stable_how4     wr_committed;
           verifier4       wr_writeverf;
   };


   struct copy_requirements4 {
           bool            cr_consecutive;
           bool            cr_synchronous;
   };

   struct COPY4resok {
           write_response4         cr_response;
           copy_requirements4      cr_requirements;
   };

   union COPY4res switch (nfsstat4 cr_status) {
   case NFS4_OK:
           COPY4resok              cr_resok4;
   case NFS4ERR_OFFLOAD_NO_REQS:
           copy_requirements4      cr_requirements;
   default:
           void;
   };


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-06 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-05 18:33 Updates to the NFSv4.2 xdr Tom Haynes
2015-03-06 17:00 ` Tom Haynes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox