Home
last modified time | relevance | path

Searched hist:"7 d8cb26d7dcb911f110b7762bd5941e8f009d6c3" (Results 1 – 3 of 3) sorted by relevance

/linux/fs/ceph/
H A Dsnap.cdiff 7d8cb26d7dcb911f110b7762bd5941e8f009d6c3 Tue Aug 24 17:44:16 CEST 2010 Sage Weil <sage@newdream.net> ceph: maintain i_head_snapc when any caps are dirty, not just for data

We used to use i_head_snapc to keep track of which snapc the current epoch
of dirty data was dirtied under. It is used by queue_cap_snap to set up
the cap_snap. However, since we queue cap snaps for any dirty caps, not
just for dirty file data, we need to keep a valid i_head_snapc anytime
we have dirty|flushing caps. This fixes a NULL pointer deref in
queue_cap_snap when writing back dirty caps without data (e.g.,
snaptest-authwb.sh).

Signed-off-by: Sage Weil <sage@newdream.net>
H A Dsuper.hdiff 7d8cb26d7dcb911f110b7762bd5941e8f009d6c3 Tue Aug 24 17:44:16 CEST 2010 Sage Weil <sage@newdream.net> ceph: maintain i_head_snapc when any caps are dirty, not just for data

We used to use i_head_snapc to keep track of which snapc the current epoch
of dirty data was dirtied under. It is used by queue_cap_snap to set up
the cap_snap. However, since we queue cap snaps for any dirty caps, not
just for dirty file data, we need to keep a valid i_head_snapc anytime
we have dirty|flushing caps. This fixes a NULL pointer deref in
queue_cap_snap when writing back dirty caps without data (e.g.,
snaptest-authwb.sh).

Signed-off-by: Sage Weil <sage@newdream.net>
H A Dcaps.cdiff 7d8cb26d7dcb911f110b7762bd5941e8f009d6c3 Tue Aug 24 17:44:16 CEST 2010 Sage Weil <sage@newdream.net> ceph: maintain i_head_snapc when any caps are dirty, not just for data

We used to use i_head_snapc to keep track of which snapc the current epoch
of dirty data was dirtied under. It is used by queue_cap_snap to set up
the cap_snap. However, since we queue cap snaps for any dirty caps, not
just for dirty file data, we need to keep a valid i_head_snapc anytime
we have dirty|flushing caps. This fixes a NULL pointer deref in
queue_cap_snap when writing back dirty caps without data (e.g.,
snaptest-authwb.sh).

Signed-off-by: Sage Weil <sage@newdream.net>