Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShrinkerSt ¶
type ShrinkerSt struct {
// contains filtered or unexported fields
}
func MkShrinkerSt ¶
func MkShrinkerSt(st *fstxn.FsState) *ShrinkerSt
func (*ShrinkerSt) Crash ¶
func (shrinker *ShrinkerSt) Crash()
func (*ShrinkerSt) DoShrink ¶
func (shrinkst *ShrinkerSt) DoShrink(inum common.Inum) bool
If caller changes file size and shrinking is in progress (because an earlier call truncated the file), then help/wait with/for shrinking. Also, called by shrinker.
func (*ShrinkerSt) Shutdown ¶
func (shrinker *ShrinkerSt) Shutdown()
func (*ShrinkerSt) StartShrinker ¶
func (shrinkst *ShrinkerSt) StartShrinker(inum common.Inum)
for large files, start a separate thread
Click to show internal directories.
Click to hide internal directories.