Fixed discard action and optimized read operations