diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2020-06-05 21:25:36 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2020-06-05 21:25:36 +0200 |
commit | 300e549b6e53025ea69550f009451f7a13bfc3eb (patch) | |
tree | eee0b51761392f1dbf9435cadb267d4616eff000 /fs/gfs2/glock.h | |
parent | 83d060ca8d90fa1e3feac227f995c013100862d3 (diff) | |
parent | 9e8990dea9266af68a668b1503dc6f55c56f1bb6 (diff) | |
download | lwn-300e549b6e53025ea69550f009451f7a13bfc3eb.tar.gz lwn-300e549b6e53025ea69550f009451f7a13bfc3eb.zip |
Merge branch 'gfs2-iopen' into for-next
Diffstat (limited to 'fs/gfs2/glock.h')
-rw-r--r-- | fs/gfs2/glock.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/gfs2/glock.h b/fs/gfs2/glock.h index 1c547dff7c57..53813364517b 100644 --- a/fs/gfs2/glock.h +++ b/fs/gfs2/glock.h @@ -244,6 +244,10 @@ static inline int gfs2_glock_nq_init(struct gfs2_glock *gl, extern void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state); extern void gfs2_glock_complete(struct gfs2_glock *gl, int ret); +extern bool gfs2_queue_delete_work(struct gfs2_glock *gl, unsigned long delay); +extern void gfs2_cancel_delete_work(struct gfs2_glock *gl); +extern bool gfs2_delete_work_queued(const struct gfs2_glock *gl); +extern void gfs2_flush_delete_work(struct gfs2_sbd *sdp); extern void gfs2_gl_hash_clear(struct gfs2_sbd *sdp); extern void gfs2_glock_finish_truncate(struct gfs2_inode *ip); extern void gfs2_glock_thaw(struct gfs2_sbd *sdp); @@ -315,4 +319,7 @@ static inline void glock_clear_object(struct gfs2_glock *gl, void *object) spin_unlock(&gl->gl_lockref.lock); } +extern void gfs2_inode_remember_delete(struct gfs2_glock *gl, u64 generation); +extern bool gfs2_inode_already_deleted(struct gfs2_glock *gl, u64 generation); + #endif /* __GLOCK_DOT_H__ */ |