Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 072b36e1 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman
Browse files

staging/lustre/fid: Remove unused struct lu_server_seq

parent f4f8407f
Loading
Loading
Loading
Loading
+0 −51
Original line number Diff line number Diff line
@@ -369,57 +369,6 @@ struct lu_client_seq {
	int		     lcs_update;
};

/* server sequence manager interface */
struct lu_server_seq {
	/* Available sequences space */
	struct lu_seq_range	 lss_space;

	/* keeps highwater in lsr_end for seq allocation algorithm */
	struct lu_seq_range	 lss_lowater_set;
	struct lu_seq_range	 lss_hiwater_set;

	/*
	 * Device for server side seq manager needs (saving sequences to backing
	 * store).
	 */
	struct dt_device       *lss_dev;

	/* LUSTRE_SEQ_SERVER or LUSTRE_SEQ_CONTROLLER */
	enum lu_mgr_type       lss_type;

	/* Client interface to request controller */
	struct lu_client_seq   *lss_cli;

	/* Mutex for protecting allocation */
	struct mutex		lss_mutex;

	/*
	 * Service uuid, passed from MDT + seq name to form unique seq name to
	 * use it with procfs.
	 */
	char		    lss_name[LUSTRE_MDT_MAXNAMELEN];

	/*
	 * Allocation chunks for super and meta sequences. Default values are
	 * LUSTRE_SEQ_SUPER_WIDTH and LUSTRE_SEQ_META_WIDTH.
	 */
	__u64		   lss_width;

	/*
	 * minimum lss_alloc_set size that should be allocated from
	 * lss_space
	 */
	__u64		   lss_set_width;

	/* sync is needed for update operation */
	__u32		   lss_need_sync;

	/**
	 * Pointer to site object, required to access site fld.
	 */
	struct seq_server_site  *lss_site;
};

/* Client methods */
void seq_client_flush(struct lu_client_seq *seq);