1STRUCT HANDLE_S(9) The Linux Journalling API STRUCT HANDLE_S(9)
2
3
4
6 struct_handle_s - this is the concrete type associated with handle_t.
7
9 struct handle_s {
10 transaction_t * h_transaction;
11 int h_buffer_credits;
12 int h_ref;
13 int h_err;
14 unsigned int h_sync:1;
15 unsigned int h_jdata:1;
16 unsigned int h_aborted:1;
17 #ifdef CONFIG_DEBUG_LOCK_ALLOC
18 struct lockdep_map h_lockdep_map;
19 #endif
20 };
21
23 h_transaction
24 Which compound transaction is this update a part of?
25
26 h_buffer_credits
27 Number of remaining buffers we are allowed to dirty.
28
29 h_ref
30 Reference count on this handle
31
32 h_err
33 Field for caller's use to track errors through large fs operations
34
35 h_sync
36 flag for sync-on-close
37
38 h_jdata
39 flag to force data journaling
40
41 h_aborted
42 flag indicating fatal error on handle
43
44 h_lockdep_map
45 lockdep info for debugging lock problems
46
48 Roger Gammans <rgammans@computer-surgery.co.uk>
49 Author.
50
51 Stephen Tweedie <sct@redhat.com>
52 Author.
53
55Kernel Hackers Manual 3.10 June 2019 STRUCT HANDLE_S(9)