relayd: replace uses of block FDs by the fs_handle interface
[lttng-tools.git] / src / bin / lttng-relayd / stream.h
index 02948fa8e4c3439906dca9df5710c0d5f992f644..ec56fe2facdf8979d75409a60542d0319b77aee8 100644 (file)
@@ -31,7 +31,6 @@
 #include <common/buffer-view.h>
 
 #include "session.h"
-#include "stream-fd.h"
 #include "tracefile-array.h"
 
 struct lttcomm_relayd_index;
@@ -79,8 +78,7 @@ struct relay_stream {
        /* seq num to encounter before closing. */
        uint64_t last_net_seq_num;
 
-       /* FD on which to write the stream data. */
-       struct stream_fd *stream_fd;
+       struct fs_handle *file;
        /* index file on which to write the index data. */
        struct lttng_index_file *index_file;
 
@@ -175,6 +173,8 @@ struct relay_stream {
        struct cds_list_head recv_node;
        /* Protected by session lock. */
        bool published;
+       /* Notified viewer that no new metadata is available. */
+       bool no_new_metadata_notified;
        /*
         * Node of stream within global stream hash table.
         */
This page took 0.023801 seconds and 4 git commands to generate.