Whamcloud - gitweb
- truncate() was always getting a PW[0,EOF] lock for its operation and was
authorzab <zab>
Mon, 20 Oct 2003 21:11:33 +0000 (21:11 +0000)
committerzab <zab>
Mon, 20 Oct 2003 21:11:33 +0000 (21:11 +0000)
commite86f0cea070e8ad248f72991e9de64713b1ab2b6
tree7c8383afc43049c7b08f149e882b9109ca638359
parent211c1f8f982f9deb434346423b2939e066e07d03
- truncate() was always getting a PW[0,EOF] lock for its operation and was
  checking the start of the lock extent when deciding whether to send a
  discarding intent or not -- we were always throwing away data covered by
  locks that were canceled by truncate().  With it fixed to start its PW lock
  with the truncated size write_append_truncate() passes again.  while I was
  in there I cleaned up some of my more illiterate comment work.
lustre/llite/llite_lib.c